Documentation ¶
Index ¶
- Variables
- func Add(response http.ResponseWriter, request *http.Request)
- func BatchAdd(response http.ResponseWriter, request *http.Request)
- func BatchEmailPrefix(response http.ResponseWriter, request *http.Request)
- func BatchExists(response http.ResponseWriter, request *http.Request)
- func Buckets(response http.ResponseWriter, request *http.Request)
- func Clear(response http.ResponseWriter, request *http.Request)
- func Dump()
- func DumpEmailSimple(mysql MysqlServer, start string, end string, finished int) (string, int)
- func EmailTest()
- func ExampleClient()
- func Exists(response http.ResponseWriter, request *http.Request)
- func GetEmailCount(mysql MysqlServer, finished int, countryId int, gender int, start int64, ...) (int, int)
- func GetEmailEffectiveRankList(username string) []string
- func GetEmailName(username string, returnPart bool) []string
- func Index(response http.ResponseWriter, request *http.Request)
- func KeyCount(response http.ResponseWriter, request *http.Request)
- func Load(response http.ResponseWriter, request *http.Request)
- func Main()
- func Memory(response http.ResponseWriter, request *http.Request)
- func OssEmailEndPrefix() map[string]int
- func ReadCsv(filename string) [][]string
- func Save(response http.ResponseWriter, request *http.Request)
- func SetConfig(response http.ResponseWriter, request *http.Request)
- func StringSum(username string) uint64
- func Write(fileName string, data [][]string)
- func WriteCsv(fileName string, data [][]string, addBom bool)
- type BloomServer
- type CheckData
- type Config
- type Email
- type EmailData
- type EmailPrefix
- type MysqlServer
- type Pair
- type PairList
- type Result
- type UserName
- type Zip
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DEBUG = false SPLIT = rune('-') )
View Source
var RedisClient *redis.Pool
View Source
var RedisConf = map[string]string{
"name": "redis",
"type": "tcp",
"address": "192.168.1.200",
"auth": "123456",
}
Functions ¶
func BatchEmailPrefix ¶
func BatchEmailPrefix(response http.ResponseWriter, request *http.Request)
func BatchExists ¶
func BatchExists(response http.ResponseWriter, request *http.Request)
func DumpEmailSimple ¶
func ExampleClient ¶
func ExampleClient()
func GetEmailCount ¶
func GetEmailName ¶
func OssEmailEndPrefix ¶
Types ¶
type BloomServer ¶
type BloomServer struct {
// contains filtered or unexported fields
}
type EmailPrefix ¶
type EmailPrefix struct {
// contains filtered or unexported fields
}
type MysqlServer ¶
type MysqlServer struct {
// contains filtered or unexported fields
}
type PairList ¶
type PairList []Pair
A slice of Pairs that implements sort.Interface to sort by Value.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.