package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jan 6, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Event represents a message for event API.
NewEvent returns newly allocated event.
EventKind is an enumation for kinds of an event.
const (
EventAuthorizationKind EventKind = "authorization"
)
type Publisher interface {
Publish(event *Event) error
}
Publisher pushlished event into a queue.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.