Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Infof(context.Context, string, ...interface{}) Warnf(context.Context, error, string, ...interface{}) Errorf(context.Context, error, string, ...interface{}) }
Logger is a simple logger abstraction so that clients can provide their own logger
type Queue ¶
type Queue interface { PostEvent(ctx context.Context, json string) error SubscribeEvents(ctx context.Context, handlerFn func(ev *qapi.EventMsg) error, closeFn func()) error AckEvent(ctx context.Context, userToken string, success bool) error Close(ctx context.Context) }
Queue defines a set of operations to interact with the queue
Click to show internal directories.
Click to hide internal directories.