DefaultConfig returns a default configuration with memory store
()
| 24 | |
| 25 | // DefaultConfig returns a default configuration with memory store |
| 26 | func DefaultConfig() *Config { |
| 27 | return &Config{ |
| 28 | Type: MemoryStore, |
| 29 | Redis: nil, |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // NewMemoryConfig creates a configuration for memory store |
| 34 | func NewMemoryConfig() *Config { |
no outgoing calls
no test coverage detected
searching dependent graphs…