Documentation
¶
Index ¶
- type FeishuAlert
- func (f *FeishuAlert) Add(name string, option Option)
- func (f *FeishuAlert) AddMap(name string, setting map[string]interface{})
- func (f *FeishuAlert) AddMapBatch(batch map[string]interface{})
- func (f *FeishuAlert) FindOption(levelName string, entry, defaultName string) string
- func (f *FeishuAlert) Format(log map[string]interface{}, kibanaUrl, esIndex string) string
- func (f *FeishuAlert) Send(log map[string]interface{})
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeishuAlert ¶ added in v1.0.38
type FeishuAlert struct {
// contains filtered or unexported fields
}
var Feishu *FeishuAlert
func NewFeishu ¶ added in v1.0.47
func NewFeishu(options map[string]interface{}) *FeishuAlert
func (*FeishuAlert) Add ¶ added in v1.0.40
func (f *FeishuAlert) Add(name string, option Option)
func (*FeishuAlert) AddMap ¶ added in v1.0.40
func (f *FeishuAlert) AddMap(name string, setting map[string]interface{})
func (*FeishuAlert) AddMapBatch ¶ added in v1.0.40
func (f *FeishuAlert) AddMapBatch(batch map[string]interface{})
func (*FeishuAlert) FindOption ¶ added in v1.0.40
func (f *FeishuAlert) FindOption(levelName string, entry, defaultName string) string
func (*FeishuAlert) Format ¶ added in v1.0.38
func (f *FeishuAlert) Format(log map[string]interface{}, kibanaUrl, esIndex string) string
func (*FeishuAlert) Send ¶ added in v1.0.38
func (f *FeishuAlert) Send(log map[string]interface{})
Click to show internal directories.
Click to hide internal directories.