configmdl

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(fpath string, config interface{}) (toml.MetaData, error)

InitConfig initConfig

func InitConfigData

func InitConfigData(data []byte, config interface{}) (toml.MetaData, error)

InitConfigData initConfig using byte array

func InitConfigSecure

func InitConfigSecure(fpath string, config interface{}, key []byte) (toml.MetaData, error)

InitConfigSecure - Init Config Secure

func SaveConfig

func SaveConfig(fpath string, config interface{}) error

SaveConfig - SaveConfig

func SaveConfigSecure

func SaveConfigSecure(fpath string, config interface{}, key []byte) error

SaveConfigSecure - SaveConfigSecure

Types

This section is empty.

Jump to

Keyboard shortcuts

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