Documentation ¶
Index ¶
- type Configuration
- func (self *Configuration) Bool(key string, def bool) bool
- func (self *Configuration) Duration(key string, def time.Duration) time.Duration
- func (self *Configuration) Float32(key string, def float32) float32
- func (self *Configuration) Float64(key string, def float64) float64
- func (self *Configuration) GetRandomUUID() string
- func (self *Configuration) Int(key string, def int) int
- func (self *Configuration) Int32(key string, def int32) int32
- func (self *Configuration) Int64(key string, def int64) int64
- func (self *Configuration) Int64Array(key string, def []int64) []int64
- func (self *Configuration) IntArray(key string, def []int) []int
- func (self *Configuration) String(key string, def string) string
- func (self *Configuration) StringArray(key string, def []string) []string
- type Context
- type Engine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
*toml.TomlTree
}
func NewConfiguration ¶
func NewConfiguration(filename string) Configuration
func (*Configuration) GetRandomUUID ¶
func (self *Configuration) GetRandomUUID() string
func (*Configuration) Int64Array ¶
func (self *Configuration) Int64Array(key string, def []int64) []int64
func (*Configuration) StringArray ¶
func (self *Configuration) StringArray(key string, def []string) []string
Click to show internal directories.
Click to hide internal directories.