MCPcopy
hub / github.com/appleboy/gin-jwt / DefaultConfig

Function DefaultConfig

store/factory.go:26–31  ·  view source on GitHub ↗

DefaultConfig returns a default configuration with memory store

()

Source from the content-addressed store, hash-verified

24
25// DefaultConfig returns a default configuration with memory store
26func DefaultConfig() *Config {
27 return &Config{
28 Type: MemoryStore,
29 Redis: nil,
30 }
31}
32
33// NewMemoryConfig creates a configuration for memory store
34func NewMemoryConfig() *Config {

Callers 1

CreateStoreMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…