juju: github.com/juju/juju/pubsub/common Index | Files

package common

import "github.com/juju/juju/pubsub/common"


Package Files


type LocalOnly Uses

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 Uses

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.

Package common is imported by 2 packages. Updated 2018-08-23. Refresh now. Tools for package owners.