Documentation ¶
Index ¶
- type DirEntry
- type FileConfigor
- func (f *FileConfigor) Close() error
- func (f *FileConfigor) DeleteConfig(fname string) (err error)
- func (f *FileConfigor) GetConfig(fname string) ([]byte, error)
- func (f *FileConfigor) SetConfig(fname string, payload []byte) error
- func (f *FileConfigor) WatchConfig(listener nacs.ConfigListener) error
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileConfigor ¶
type FileConfigor struct {
// contains filtered or unexported fields
}
func NewFileConfigor ¶
func NewFileConfigor(root string, filters ...Filter) (*FileConfigor, error)
func (*FileConfigor) Close ¶
func (f *FileConfigor) Close() error
func (*FileConfigor) DeleteConfig ¶
func (f *FileConfigor) DeleteConfig(fname string) (err error)
func (*FileConfigor) SetConfig ¶
func (f *FileConfigor) SetConfig(fname string, payload []byte) error
func (*FileConfigor) WatchConfig ¶
func (f *FileConfigor) WatchConfig(listener nacs.ConfigListener) error
we should only care about write event
Click to show internal directories.
Click to hide internal directories.