Store is used for persistent session stores (IE not Cookie) Implementing this interface allows it to easily use the persistence.Manager for session ticket + encryption details.
| 11 | // Implementing this interface allows it to easily use the persistence.Manager |
| 12 | // for session ticket + encryption details. |
| 13 | type Store interface { |
| 14 | Save(context.Context, string, []byte, time.Duration) error |
| 15 | Load(context.Context, string) ([]byte, error) |
| 16 | Clear(context.Context, string) error |
| 17 | Lock(key string) sessions.Lock |
| 18 | VerifyConnection(context.Context) error |
| 19 | } |
no outgoing calls
no test coverage detected