config

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

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

Go to latest
Published: Jun 3, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainConfig

type DomainConfig struct {
	// Identity holds identifying information
	ident.Identity

	// LogFile is where logs are sent to
	LogFile string

	// DialTimeout is how long a domain will wait for a grpc.ClientConn to establish
	DialTimeout time.Duration
	// IsolationCheck is the duration between isolation checks
	IsolationCheck time.Duration
	// ServiceCheck is the length of time after which a domain will send a hearbeat
	ServiceCheck time.Duration
}

DomainConfig holds all the information required to start a Domain

func (DomainConfig) Check

func (c DomainConfig) Check() error

func (*DomainConfig) Patch

func (c *DomainConfig) Patch() error

func (DomainConfig) String

func (c DomainConfig) String() string

Jump to

Keyboard shortcuts

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