Documentation ¶
Index ¶
- func NewTomlCoder() *tomlCoder
- type Coder
- type Handler
- func (h *Handler) AddAfter(f func(interface{}))
- func (h *Handler) ClearAfter()
- func (h *Handler) Init(file string, config interface{}) error
- func (h *Handler) ParseFileWithName(name, file string, config interface{}) error
- func (h *Handler) ParseWithName(name, data string, config interface{}) error
- func (h *Handler) RunAfter(config interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTomlCoder ¶
func NewTomlCoder() *tomlCoder
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func GetConfigHandler ¶
func GetConfigHandler() *Handler
func (*Handler) ClearAfter ¶
func (h *Handler) ClearAfter()
func (*Handler) ParseFileWithName ¶
func (*Handler) ParseWithName ¶
Click to show internal directories.
Click to hide internal directories.