conf

package
v0.0.0-...-bd4735d Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(configFile string, obj interface{}, fs ...func()) error

Parse configuration files to struct, including yaml, toml, json, etc., and turn on listening for configuration file changes if fs is not empty

func Show

func Show(obj interface{}, keywords ...string) string

Show print configuration information (remove sensitive information)

Types

This section is empty.

Jump to

Keyboard shortcuts

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