Documentation ¶ Index ¶ type Loader func NewLoader(path string, v interface{}) *Loader func (c *Loader) Load() error func (c *Loader) Start(ctx context.Context) error func (c *Loader) Stop(ctx context.Context) error func (c *Loader) Value() interface{} Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Loader ¶ type Loader struct { // contains filtered or unexported fields } func NewLoader ¶ func NewLoader(path string, v interface{}) *Loader func (*Loader) Load ¶ func (c *Loader) Load() error func (*Loader) Start ¶ func (c *Loader) Start(ctx context.Context) error func (*Loader) Stop ¶ func (c *Loader) Stop(ctx context.Context) error func (*Loader) Value ¶ func (c *Loader) Value() interface{} Source Files ¶ View all Source files loader.go Click to show internal directories. Click to hide internal directories.