config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseConfig

type BaseConfig struct {
	SocketAddr  string `yaml:"SocketAddr"`
	Username    string `yaml:"Username"`
	Password    string `yaml:"Password"`
	StoragePath string `yaml:"StoragePath"`

	Debug bool `yaml:"Debug"`
}

func InitConfig

func InitConfig() *BaseConfig

初始化Config

Jump to

Keyboard shortcuts

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