Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Data *DataConfig `hcl:"data,optional"`
Log *logger.Config `hcl:"log,optional"`
HTTP *HTTPConfig `hcl:"http,optional"`
Nomad *NomadConfig `hcl:"nomad,optional"`
RPC *RPCConfig `hcl:"rpc,optional"`
State *state.Config `hcl:"state,optional"`
}
func ConfigFromCLI ¶
func DefaultConfig ¶
func DefaultConfig() *Config
type DataConfig ¶
type DataConfig struct {
Path string `hcl:"path,optional"`
}
type HTTPConfig ¶
type NomadConfig ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) WaitForSignals ¶
func (s *Server) WaitForSignals()
Click to show internal directories.
Click to hide internal directories.