Documentation
¶
Index ¶
- Variables
- func BsConfigExist() (bool, error)
- func CleanAuthFile() error
- func Get(c any) error
- func NewViper(dir string, configdefault string, configtype string) *viper.Viper
- func Set(c any) error
- func Setup(region string, nsdir string, gbdir string, pfdir string, bsdir string) error
- type File
- type HwAuthFile
- type HwConfFile
- type HwJsonFile
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ns *HwConfFile = nil Gb *HwConfFile = nil Pf *HwJsonFile = nil Bs *HwAuthFile = nil )
Functions ¶
func BsConfigExist ¶
func CleanAuthFile ¶
func CleanAuthFile() error
Types ¶
type HwAuthFile ¶
type HwAuthFile struct {
Dir string
}
type HwConfFile ¶
func (*HwConfFile) Get ¶
func (c *HwConfFile) Get(_c any) error
func (*HwConfFile) Set ¶
func (c *HwConfFile) Set(_c any) error
Click to show internal directories.
Click to hide internal directories.