config

package
v0.0.0-...-f62b39d Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	zrpc.RpcServerConf

	RedisConf RedisConf
	UvpnConf  struct {
		OvpnVipPool    string // ovpn 虚拟ip池
		CcdFilePath    string // ccd文件路径
		DevCcdFilePath string // 开发情况下文件路径
	}
}

type RedisConf

type RedisConf struct {
	Addr              string
	Password          string
	DB                int
	PoolSize          int
	DialTimeout       time.Duration
	ReadTimeout       time.Duration
	WriteTimeout      time.Duration
	PoolTimeout       time.Duration
	KeyOvpnVipCounter string // ovpn虚拟ip计数器
	KeyOvpnCcdTpl     string // ovpn ccd文件模版
}

Jump to

Keyboard shortcuts

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