config

package
v0.0.0-...-244c27e Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Read

func Read(path string) error

func RegisterPlugin

func RegisterPlugin(plugin interface{}, v interface{})

func Write

func Write(plugin interface{}, key string, value interface{}) error

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func GetConfig

func GetConfig() *Config

func NewConfig

func NewConfig() *Config

func (*Config) Read

func (c *Config) Read(path string) error

func (*Config) RegisterPlugin

func (c *Config) RegisterPlugin(plugin interface{}, v interface{})

func (*Config) Write

func (c *Config) Write(plugin interface{}, key string, value interface{}) error

Jump to

Keyboard shortcuts

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