Documentation
¶
Index ¶
Constants ¶
View Source
const ( Traefik = "traefik" Socat = "socat" Native = "native" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct {
BindHost string // バインドするホスト (例: "0.0.0.0", "127.0.0.1")
ListenPort string
LogFilePath string
PIDFilePath string
DynConfigPath string
StaticConfigPath string
Executable string
GetActive func() int
SetActive func(int)
EnsureTmpDir func() error
PIDAlive func(int) bool
WarnErr func(action string, err error)
}
Env はプロバイダーが必要とする状態・関数を保持する。
type StartOptions ¶
type StartOptions struct {
Daemon bool
}
type StartResult ¶
Click to show internal directories.
Click to hide internal directories.