@@ -94,15 +94,15 @@ func (store *SessionStore) Load(req *http.Request) (*sessions.SessionState, erro
95 return nil, fmt.Errorf("Cookie Signature not valid")
95 return nil, fmt.Errorf("Cookie Signature not valid")
97− session, err := store.LoadSessionFromString(val)
97+ session, err := store.loadSessionFromString(val)
98 if err != nil {
98 if err != nil {
99 return nil, fmt.Errorf("error loading session: %s", err)
99 return nil, fmt.Errorf("error loading session: %s", err)
101 return session, nil
101 return session, nil
104−// LoadSessionFromString loads the session based on the ticket value
104+// loadSessionFromString loads the session based on the ticket value
105−func (store *SessionStore) LoadSessionFromString(value string) (*sessions.SessionState, error) {
105+func (store *SessionStore) loadSessionFromString(value string) (*sessions.SessionState, error) {
106 ticket, err := decodeTicket(store.CookieOptions.CookieName, value)
106 ticket, err := decodeTicket(store.CookieOptions.CookieName, value)
107 if err != nil {
107 if err != nil {
108 return nil, err
108 return nil, err