Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFileContent ¶
func DefaultFileContent() string
Types ¶
type ColumnOptions ¶ added in v0.4.0
func (ColumnOptions) GetOption ¶ added in v0.4.0
func (co ColumnOptions) GetOption(columnName, option string) string
type Config ¶
type Config struct { Logger Logger `toml:"logger"` Network Network `toml:"network"` Views Views `toml:"views"` }
func NewDefault ¶
func NewDefault() *Config
type Network ¶
type Network struct { Name string `toml:"name"` Type string `toml:"type"` Address string `toml:"address"` Cert string `toml:"cert"` Macaroon string `toml:"macaroon"` MacaroonTimeOut int64 `toml:"macaroon_timeout"` MacaroonIP string `toml:"macaroon_ip"` MaxMsgRecvSize int `toml:"max_msg_recv_size"` ConnTimeout int `toml:"conn_timeout"` PoolCapacity int `toml:"pool_capacity"` Aliases Aliases `toml:"aliases"` }
type View ¶ added in v0.1.0
type View struct { Columns []string `toml:"columns"` Options ColumnOptions `toml:"options"` }
Click to show internal directories.
Click to hide internal directories.