common

package
v0.0.0-...-4308112 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

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