Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalOnly ¶
type LocalOnly struct {
LocalOnly bool `yaml:"local-only"`
}
LocalOnly represents a common structure where the subject is the primary indicator and the message is local.
type OriginTarget ¶
type OriginTarget struct { // Origin represents this API server. Origin string `yaml:"origin"` // Target represents the other API server that this one is forwarding // messages to. Target string `yaml:"target"` }
OriginTarget represents the commonly used message structure where the publisher generally just specifies the Target and the Origin is filled in by the hub.
Click to show internal directories.
Click to hide internal directories.