Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = 1
)
Variables ¶
This section is empty.
Functions ¶
func NewClusterNode ¶
func NewClusterNode(addrs []string) *backend.ClusterNode
Types ¶
type ConfYaml ¶
type ConfYaml struct {
Debug bool `yaml:"debug"`
MinStep int `yaml:"minStep"`
Logger logger.LoggerSection `yaml:"logger"`
Backend backend.BackendSection `yaml:"backend"`
HTTP HTTPSection `yaml:"http"`
RPC RPCSection `yaml:"rpc"`
}
var (
Config *ConfYaml
)
type HTTPSection ¶
type IndexSection ¶
type LoggerSection ¶
type RPCSection ¶
type RPCSection struct {
Enabled bool `yaml:"enabled"`
}
Click to show internal directories.
Click to hide internal directories.