config

package
v0.0.0-...-aa75ca6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConf

type AppConf struct {
	OrderExpireMinute    int
	RechargeExpireMinute int
	ProxyUrl             string
	TonSeed              string
	Hash                 string
	Cookie               string
}

type Config

type Config struct {
	rest.RestConf
	MysqlConf MysqlConf
	RedisConf RedisConf
	PayConf   PayConf
	AppConf   AppConf
}

type MysqlConf

type MysqlConf struct {
	Host string
	User string
	Pass string
	Db   string
}

type PayConf

type PayConf struct {
	BaseApi   string
	ApiToken  string
	NotifyUrl string
}

type RedisConf

type RedisConf struct {
	Host string
	Type string
	Pass string
	Tls  bool
}

Jump to

Keyboard shortcuts

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