SessionStore is an interface to storing user sessions in the proxy
| 9 | |
| 10 | // SessionStore is an interface to storing user sessions in the proxy |
| 11 | type SessionStore interface { |
| 12 | Save(rw http.ResponseWriter, req *http.Request, s *SessionState) error |
| 13 | Load(req *http.Request) (*SessionState, error) |
| 14 | Clear(rw http.ResponseWriter, req *http.Request) error |
| 15 | VerifyConnection(ctx context.Context) error |
| 16 | } |
| 17 | |
| 18 | var ErrLockNotObtained = errors.New("lock: not obtained") |
| 19 | var ErrNotLocked = errors.New("tried to release not existing lock") |
nothing calls this directly
no outgoing calls
no test coverage detected