Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { BasicAuth bool `json:"basic-auth"` BasicAuthUser string `json:"basic-auth-user"` BasicAuthPass string `json:"-"` Commands map[string]string `json:"commands"` Files bool `json:"files"` FilesDir string `json:"files-dir"` TokenAuth bool `json:"token-auth"` TokenKey string `json:"-"` Listen string `json:"listen-host"` Port string `json:"port"` Timeout int `json:"timeout"` Tls bool `json:"tls"` TlsCert string `json:"tls-cert"` TlsKey string `json:"tls-key"` }
var Config *Options
Click to show internal directories.
Click to hide internal directories.