c

package
v0.16.24 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerID                 = "server.id"
	GatewayListen            = "gateway.listen"
	GatewayAdvertiseHostPort = "gateway.advertise.hostport"
	TunnelListen             = "tunnel.listen"
	TunnelAdvertiseHostPort  = "tunnel.advertise.hostport"
	IdleTime                 = "idle-time"
	ReplicaSet               = "replica-set"
	GossipPort               = "gossip.port"
	GossipSeedHostPort       = "gossip.seed.hostport"
	DataPath                 = "data.path"
	Bootstrap                = "bootstrap"
	Host                     = "host"
	Port                     = "port"
	Config                   = "config"
)

Variables

This section is empty.

Functions

func Conf

func Conf() *config.Config

func GetBootstrap

func GetBootstrap() bool

func GetConfig added in v0.15.2

func GetConfig() string

func GetDataPath

func GetDataPath() string

func GetGatewayAdvertiseHostPort

func GetGatewayAdvertiseHostPort() []string

func GetGatewayListen

func GetGatewayListen() string

func GetGossipPort

func GetGossipPort() int

func GetGossipSeedHostPort added in v0.15.2

func GetGossipSeedHostPort() string

func GetHost

func GetHost() string

func GetIdleTime

func GetIdleTime() time.Duration

func GetPort

func GetPort() int

func GetReplicaSet

func GetReplicaSet() uint64

func GetServerID

func GetServerID() string

func GetTunnelAdvertiseHostPort

func GetTunnelAdvertiseHostPort() []string

func GetTunnelListen

func GetTunnelListen() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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