Documentation ¶
Index ¶
- Constants
- func Close()
- func Custom(payload string)
- func Flush()
- func Init(serviceName, version, url, serverName string, ...)
- func ServerStart(systemInfo *runtime.Info)
- func SystemError(msg ...interface{})
- func SystemErrorf(format string, v ...interface{})
- type Attachment
- type Block
- type IPInfo
- type SlackMessage
- type SlackNotifier
- type Text
Constants ¶
View Source
const (
ServiceName = "Jitsu-Server"
)
Variables ¶
This section is empty.
Functions ¶
func ServerStart ¶
func SystemError ¶
func SystemError(msg ...interface{})
func SystemErrorf ¶
func SystemErrorf(format string, v ...interface{})
Types ¶
type Attachment ¶
type Attachment struct {
Blocks []Block `json:"blocks,omitempty"`
}
type SlackMessage ¶
type SlackMessage struct { Text string `json:"text,omitempty"` Attachments []Attachment `json:"attachments,omitempty"` }
type SlackNotifier ¶
type SlackNotifier struct {
// contains filtered or unexported fields
}
func (*SlackNotifier) Send ¶
func (sn *SlackNotifier) Send(payload string) error
Click to show internal directories.
Click to hide internal directories.