setting

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSetting

func InitSetting()

初始化配置

Types

type Conf

type Conf struct {
	OAuth struct {
		UrlPrefix    string `yaml:"url_prefix"`
		AppId        string `yaml:"app_id"`
		AppKey       string `yaml:"app_key"`
		SecretKey    string `yaml:"secretKey"`
		RedirectUri  string `yaml:"redirect_uri"`
		AccessToken  string `yaml:"access_token"`
		RefreshToken string `yaml:"refresh_token"`
	}
}
var Cfg *Conf

Jump to

Keyboard shortcuts

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