Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoints = []string{
"cn-hangzhou.log.aliyuncs.com",
"cn-hangzhou-finance.log.aliyuncs.com",
"cn-shanghai.log.aliyuncs.com",
"cn-shanghai-finance-1.log.aliyuncs.com",
"cn-qingdao.log.aliyuncs.com",
"cn-beijing.log.aliyuncs.com",
"cn-zhangjiakou.log.aliyuncs.com",
"cn-huhehaote.log.aliyuncs.com",
"cn-shenzhen.log.aliyuncs.com",
"cn-shenzhen-finance.log.aliyuncs.com",
"cn-chengdu.log.aliyuncs.com",
"cn-hongkong.log.aliyuncs.com",
"ap-northeast-1.log.aliyuncs.com",
"ap-southeast-1.log.aliyuncs.com",
"ap-southeast-2.log.aliyuncs.com",
"ap-southeast-3.log.aliyuncs.com",
"ap-southeast-5.log.aliyuncs.com",
"me-east-1.log.aliyuncs.com",
"us-west-1.log.aliyuncs.com",
"eu-central-1.log.aliyuncs.com",
"us-east-1.log.aliyuncs.com",
"ap-south-1.log.aliyuncs.com",
"eu-west-1.log.aliyuncs.com",
}
Endpoints sls endpoints
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Group string `file:"comsume_group"` AccessKey string `file:"ali_access_key"` AccessSecretKey string `file:"ali_access_secret_key"` Endpoints []string `file:"endpoints"` Tags map[string]string `file:"tags"` }
Account .
type ConsumeFunc ¶
type ConsumeFunc func(shardID int, groups *sls.LogGroupList) string
ConsumeFunc .
type ConsumerManager ¶
type ConsumerManager struct {
// contains filtered or unexported fields
}
ConsumerManager .
func (*ConsumerManager) Patch ¶
func (cm *ConsumerManager) Patch(account *Account)
Click to show internal directories.
Click to hide internal directories.