Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllProviderNames = []ProviderName{INMEM, REDIS, NATS, STAN, KAFKA}
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Publish(ctx context.Context, event *eventgate.Event) error GetChannel(ctx context.Context) (chan *eventgate.Event, error) Close() error }
func GetChannelProvider ¶
type ProviderName ¶
type ProviderName string
const ( NATS ProviderName = "nats" STAN ProviderName = "stan" INMEM ProviderName = "inmem" REDIS ProviderName = "redis" KAFKA ProviderName = "kafka" )
Click to show internal directories.
Click to hide internal directories.