summaryrefslogtreecommitdiff
path: root/session_store.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-05 14:45:56 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-05 14:45:56 (GMT)
commit11dc798c4523bc83c9fb03c7ca74eb203e615ebe (patch)
tree85b487ab37f57e4a354c4d63a61b206fc1666383 /session_store.go
parent674db099c02dcbf39a336fa81b01deac3cc668ef (diff)
removed Import prefix of some types
Diffstat (limited to 'session_store.go')
-rw-r--r--session_store.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/session_store.go b/session_store.go
index bb4043b..db3f217 100644
--- a/session_store.go
+++ b/session_store.go
@@ -39,7 +39,7 @@ type newSessionResponse struct {
}
type newSessionRequest struct {
- ctx *ImportContext
+ ctx *Context
refId string
response chan newSessionResponse
}
@@ -107,7 +107,7 @@ func generateSessionId() (string, error) {
return base64.RawStdEncoding.EncodeToString(b[:]), nil
}
-func (self *SessionStore) new(ctx *ImportContext, refId string) (resp newSessionResponse) {
+func (self *SessionStore) new(ctx *Context, refId string) (resp newSessionResponse) {
resp.responsecode = http.StatusOK
resp.errorstring = "OK"
if !ctx.Trusted {
@@ -223,7 +223,7 @@ type SessionStoreChan struct {
removeChan chan<- removeSessionRequest
}
-func (self *SessionStoreChan) New(ctx *ImportContext, refId string) (string, *SessionChan, int, string) {
+func (self *SessionStoreChan) New(ctx *Context, refId string) (string, *SessionChan, int, string) {
resCh := make(chan newSessionResponse)
req := newSessionRequest{}
req.ctx = ctx