myconfig

package
v0.0.0-...-6b9e1a3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyConf

type MyConf struct {
	Concurrent int    `yaml:"concurrent"` // 并发量,根据具体情况写,我在一台机器上写 100W,结果机子卡死了
	IPPort     string `yaml:"ipPort"`
	TryTimes   int    `yaml:"tryTimes"`
}

MyConf 导出配置结构体

func (*MyConf) GetConf

func (c *MyConf) GetConf() *MyConf

GetConf 获取配置文件指针

Jump to

Keyboard shortcuts

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