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

Function WithRedisKeyPrefix

auth_jwt_redis.go:47–51  ·  view source on GitHub ↗

WithRedisKeyPrefix sets the key prefix

(prefix string)

Source from the content-addressed store, hash-verified

45
46// WithRedisKeyPrefix sets the key prefix
47func WithRedisKeyPrefix(prefix string) RedisOption {
48 return func(config *store.RedisConfig) {
49 config.KeyPrefix = prefix
50 }
51}
52
53// WithRedisTLS sets the TLS configuration for secure connections
54func WithRedisTLS(tlsConfig *tls.Config) RedisOption {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…