common

package
v0.0.0-...-298751d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 0 Imported by: 2

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL