receiver

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL