conf

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (err error)

Init conf.

Types

type Config

type Config struct {
	// httpClinet
	HTTPClient *HTTPClient
	// host
	Host *Host
	// Secret
	Secret *Secret
}

Config struct.

var (
	Conf *Config
)

Conf info.

type HTTPClient

type HTTPClient struct {
	Dial      int64
	KeepAlive int64
}

HTTPClient conf.

type Host

type Host struct {
	Geetest string
}

Host conf.

type Secret

type Secret struct {
	CaptchaID  string
	PrivateKey string
}

Secret of Geetest

Jump to

Keyboard shortcuts

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