c

package
v0.14.28 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 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"
	DataPath                 = "data.path"
	Bootstrap                = "bootstrap"
	Host                     = "host"
	Port                     = "post"
)

Variables

This section is empty.

Functions

func Conf

func Conf() *config.Config

func GetBootstrap

func GetBootstrap() bool

func GetDataPath

func GetDataPath() string

func GetGatewayAdvertiseHostPort

func GetGatewayAdvertiseHostPort() []string

func GetGatewayListen

func GetGatewayListen() string

func GetGossipPort

func GetGossipPort() int

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