context

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir() string

func DockerSock added in v0.0.3

func DockerSock() string

func Env

func Env() []string

func ManagerAddr added in v0.1.0

func ManagerAddr() string

func MyAddr added in v0.1.0

func MyAddr() string

func ReadyOrError

func ReadyOrError() error

func RpcPort

func RpcPort() int

func SetDir

func SetDir(val string)

func SetHostList

func SetHostList(val []Host)

func SetManagerAddr added in v0.1.0

func SetManagerAddr(val string)

func SetMyAddr added in v0.1.0

func SetMyAddr(val string)

func SetReady

func SetReady(val bool)

Types

type Host added in v0.1.0

type Host struct {
	Addr string
	Name string
}

func HostList

func HostList() []Host

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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