config

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Zlib Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// The node name that the endpoint belongs to.
	Node server.Node `json:"node"`

	// The network address at which the service can be reached.
	Server server.Address `json:"server"`

	PubIp string

	// The list of tags associated with the service.
	Tags []string `json:"tags"`

	// The set of metadata associated with the node on which the service is
	// running.
	Meta map[string]string `json:"meta"`

	Check server.HealthCheck
}

func (*Config) Adjust added in v0.5.47

func (conf *Config) Adjust(addr net.Addr)

Jump to

Keyboard shortcuts

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