relayentry

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	Role    string          `json:"role"`
	Addr    *texturl.URL    `json:"address"`
	Pubkey  jsonb.PK        `json:"pubkey"`
	Version *semver.Version `json:"version"`
	Key     string          `json:"key,omitempty"`
	// Update channel for the relay, used in determining the update version to
	// push from the directory. Can be empty, in which case it's taken to be
	// default.
	Channel string `json:"update_channel,omitempty"`
}

func (*T) String

func (r *T) String() string

func (*T) Validate

func (r *T) Validate() error

Jump to

Keyboard shortcuts

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