Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(sc StorageCreater)
Types ¶
type EsStorage ¶
type EsStorage struct { Host string Port string Username string Password string Index string Body interface{} // contains filtered or unexported fields }
EsStorage ealsticsearch请求对象
func (EsStorage) GetStorage ¶
type RequestError ¶
type RequestError struct {
Message string
}
RequestError 请求错误
func (RequestError) Error ¶
func (requestError RequestError) Error() string
type Storage ¶
func GetStorage ¶
GetStorage 根据配置信息获取监控储存
type StorageCreater ¶
Click to show internal directories.
Click to hide internal directories.