producer

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SinkerPrefix = "sinker."
	SinkerUpdate = SinkerPrefix + "update"
)

Variables

This section is empty.

Functions

func NewEventStoreMiddleware

func NewEventStoreMiddleware(repo config.ConfigRepo, client *redis.Client) config.ConfigRepo

Types

type SinkerUpdateEvent

type SinkerUpdateEvent struct {
	SinkID    string
	Owner     string
	State     string
	Msg       string
	Timestamp time.Time
}

func (SinkerUpdateEvent) Encode

func (cse SinkerUpdateEvent) Encode() map[string]interface{}

Jump to

Keyboard shortcuts

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