files

package module
v0.0.0-...-7a87de5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFile = "settings.json"
)

Variables

This section is empty.

Functions

func New

func New(options *Options) modules.Module

Types

type Module

type Module struct {
	modules.ModuleBase
	FileOptions   Options
	Configuration map[string]interface{}
	Content       []byte
	WaitGroup     sync.WaitGroup
	QuitC         chan interface{}
}

func (*Module) Deconstruct

func (source *Module) Deconstruct()

func (*Module) GetRefreshedValue

func (source *Module) GetRefreshedValue(key string) interface{}

func (*Module) Load

func (source *Module) Load()

type Options

type Options struct {
	modules.Options
	File string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL