@@ -194,9 +194,10 @@ func DefaultErrorHandler(fiber.Ctx, err error)
194
194
### Middleware Methods
195
195
196
196
```go
197
- func (m *Middleware) Set(key string, value any)
198
- func (m *Middleware) Get(key string) any
199
- func (m *Middleware) Delete(key string)
197
+ func (m *Middleware) Set(key any, value any)
198
+ func (m *Middleware) Get(key any) any
199
+ func (m *Middleware) Delete(key any)
200
+ func (m *Middleware) Keys() []any
200
201
func (m *Middleware) Destroy() error
201
202
func (m *Middleware) Reset() error
202
203
func (m *Middleware) Store() *Store
@@ -207,14 +208,15 @@ func (m *Middleware) Store() *Store
207
208
```go
208
209
func (s *Session) Fresh() bool
209
210
func (s *Session) ID() string
210
- func (s *Session) Get(key string) any
211
- func (s *Session) Set(key string, val any)
211
+ func (s *Session) Get(key any) any
212
+ func (s *Session) Set(key any, val any)
213
+ func (s *Session) Delete(key any)
214
+ func (s *Session) Keys() []any
212
215
func (s *Session) Destroy() error
213
216
func (s *Session) Regenerate() error
214
217
func (s *Session) Release()
215
218
func (s *Session) Reset() error
216
219
func (s *Session) Save() error
217
- func (s *Session) Keys() []string
218
220
func (s *Session) SetIdleTimeout(idleTimeout time.Duration)
219
221
```
220
222
0 commit comments