Documentation ¶
Overview ¶
interchange defines the core functionality of an Arke hub.
It provides an API for creating a new hub, publishing and subscribing, as well as appropriate interfaces for implementing transparent hub Client wrapper types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { Publisher Subscriber }
Client allows publication and subscription to an Arke hub.
type Message ¶
type Message struct { Encoding codex.Codex Source string // Meta map[string]string Body interface{} }
Message constitutes the information exchanged across an Arke hub.
Click to show internal directories.
Click to hide internal directories.