Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpOption ¶ added in v0.4.1
type OpOption func(o *OpOptions)
func WithOpOnChangeFn ¶ added in v0.4.1
func WithOpOnChangeFn(inp func(cfg interface{})) OpOption
func WithOpOnErrorFn ¶ added in v0.4.1
type OpOptions ¶ added in v0.4.1
type OpOptions struct { OnChangeFn func(interface{}) // call it when the file is modified OnErrorFn func(error) // call it when an error occurs }
type Option ¶
type Option func(o *Options)
func WithCfgSource ¶ added in v0.2.0
func WithCheckInterval ¶
func WithOnChangeFn ¶
func WithOnChangeFn(inp func(cfg interface{})) Option
func WithOnErrorFn ¶
Click to show internal directories.
Click to hide internal directories.