config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: GPL-3.0 Imports: 3 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 {
	// ID is a unique identifier for the fuddle node.
	ID string

	// BindRegistryAddr is the bind address to listen for registry clients.
	BindRegistryAddr string
	// AdvRegistryAddr is the address to advertise to registry clients.
	AdvRegistryAddr string

	// Locality is the location of the node in the cluster.
	Locality string

	// Revision is the build commit.
	Revision string
}

Config contains the node configuration.

func DefaultConfig

func DefaultConfig() *Config

func (*Config) MarshalLogObject

func (c *Config) MarshalLogObject(e zapcore.ObjectEncoder) error

Jump to

Keyboard shortcuts

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