Documentation
¶
Index ¶
Constants ¶
View Source
const ( NotifyMsgExtGroup = "group" NotifyMsgExtLevel = "level" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyGroup ¶
type NotifyGroup string
const ( NotifyGroupInfo NotifyGroup = "info" NotifyGroupAlarm NotifyGroup = "alarm" NotifyGroupAlert NotifyGroup = "alert" NotifyGroupBuild NotifyGroup = "build" NotifyGroupDeploy NotifyGroup = "deploy" )
func ToNotifyGroup ¶
func ToNotifyGroup(str string) NotifyGroup
func (NotifyGroup) String ¶
func (n NotifyGroup) String() string
type NotifySenderType ¶
type NotifySenderType string
const ( NotifySenderKook NotifySenderType = "kook" NotifySenderBark NotifySenderType = "bark" NotifySenderConsole NotifySenderType = "console" )
type NotifyType ¶
type NotifyType string
const ( NotifyTypeAlarm NotifyType = "alarm" NotifyTypeSystem NotifyType = "system" )
func ToNotifyType ¶
func ToNotifyType(str string) NotifyType
func (NotifyType) String ¶
func (n NotifyType) String() string
Click to show internal directories.
Click to hide internal directories.