Documentation ¶
Index ¶
- Variables
- func CreatIndex(ProjectName, LogStoreName string) error
- func CreateLogStore(ProjectName, LogStoreName string) error
- func DeleteLog(ProjectName, LogStoreName string)
- func GetHistograms(ProjectName, LogStoreName string) error
- func GetLogByQueryExp(ProjectName, LogStoreName, topic, QueryExp string, num, offset int64) error
- func PutLogs(ProjectName, LogStoreName, Ip, topic string, logs []*sls.Log) error
- type SlsLogFormt
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProjectName = "teams-api" AccessKeyID = config.C.Oss.AccessKeyId AccessKeySecret = config.C.Oss.AccessKeySecret Endpoint = "cn-zhangjiakou.log.aliyuncs.com" // just like cn-hangzhou.log.aliyuncs.com LogStoreName = "api-log-store" Client sls.ClientInterface )
Functions ¶
func CreatIndex ¶
func CreateLogStore ¶
func GetHistograms ¶
func GetLogByQueryExp ¶
Types ¶
type SlsLogFormt ¶
Click to show internal directories.
Click to hide internal directories.