package
0.1.2
Repository: https://github.com/sehrgutesoftware/typevent.git
Documentation: pkg.go.dev

# Functions

NewChannel returns a new [typevent.Channel] backed by redis Pub/Sub as the underlying event bus.
NewConfig returns a new [Config] for a redis channel.
WithCodec sets the codec used to serialize and deserialize events.
WithKeyPrefix sets the prefix for all redis keys used by the channel.

# Structs

Config contains the configuration for a redis channel.
JSONCodec is a codec that uses JSON as the encoding.
MsgpackCodec is a codec that uses msgpack as the encoding.

# Interfaces

Codec is the Codec used to marshal and unmarshal events.

# Type aliases

ConfigOption is a configuration option for the redis channel.