Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryApplicationRegistry ¶
func NewMemoryApplicationRegistry() funcie.ApplicationRegistry
NewMemoryApplicationRegistry creates a new in-memory application registry.
func NewRedisApplicationRegistry ¶ added in v0.1.0
func NewRedisApplicationRegistry(redisClient RedisClient) funcie.ApplicationRegistry
NewRedisApplicationRegistry creates a new Redis-backed application registry.
Types ¶
type RedisClient ¶ added in v0.1.0
type RedisClient interface { HSet(ctx context.Context, key string, values ...interface{}) *redis.IntCmd Del(ctx context.Context, keys ...string) *redis.IntCmd HGetAll(ctx context.Context, key string) *redis.MapStringStringCmd }
RedisClient is an interface for the redis.Client type containing only the methods we use.
Click to show internal directories.
Click to hide internal directories.