Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseEvent ¶
type BaseEvent struct {
RemoteAddr string
RemotePortNumber int
UserAgentString string
RawData []byte
}
func (*BaseEvent) Dispatch ¶
func (e *BaseEvent) Dispatch(cc chan InteractionEvent)
func (*BaseEvent) RemotePort ¶
type InteractionEvent ¶
type Notifier ¶
type Notifier interface {
Name() string
Send(InteractionEvent) error
Filter() *regexp.Regexp
}
type NotifierBase ¶
type NotifierChat ¶
type NotifierChat struct {
NotifierWebhook
Channel string
User string
UserImage string
}
type NotifierWebhook ¶
type NotifierWebhook struct {
NotifierBase
URL string
}
Click to show internal directories.
Click to hide internal directories.