Documentation ¶ Index ¶ type Event type Events func New() (Events, error) type Topic Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Event ¶ type Event struct { Payload map[string]interface{} `json:"payload"` PayloadType string `json:"payloadType"` ID string `json:"id"` } type Events ¶ type Events interface { // Topic - Retrieve a Topic reference Topic(name string) Topic // Topics - Retrievs a list of available Topic references Topics() ([]Topic, error) } Events func New ¶ func New() (Events, error) New - Construct a new Eventing Client with default options type Topic ¶ type Topic interface { Name() string Publish(*Event) (*Event, error) } Topic Source Files ¶ View all Source files event.go events.go topic.go Click to show internal directories. Click to hide internal directories.