Documentation ¶
Index ¶
- func IsMaster() bool
- func RunMaster(_app string)
- func TestConf()
- type AConfig
- func (this *AConfig) GetAry(_path string) []int
- func (this *AConfig) GetBool(_path string, _def bool) bool
- func (this *AConfig) GetInt(_path string, _def int) int
- func (this *AConfig) GetList(_path string) (res []*ANode)
- func (this *AConfig) GetObj(_path string) *ANode
- func (this *AConfig) GetStr(_path string, _def string) string
- func (this *AConfig) LoadDef(_do_load func())
- func (this *AConfig) LoadYaml(_path string, _do_load func())
- type AFacade
- type ANode
- func (this *ANode) GetAry(_path string) (res []int)
- func (this *ANode) GetBool(_path string, _def bool) bool
- func (this *ANode) GetInt(_path string, _def int) int
- func (this *ANode) GetList(_path string) []interface{}
- func (n *ANode) GetObj(_path string) *ANode
- func (this *ANode) GetStr(_path string, _def string) string
- type MyCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AFacade ¶
type AFacade struct {
// contains filtered or unexported fields
}
func NewAFacade ¶
Click to show internal directories.
Click to hide internal directories.