Documentation ¶
Index ¶
- type DiscordNotifier
- func (dn *DiscordNotifier) Connect(ctx context.Context) error
- func (dn *DiscordNotifier) Disconnect() error
- func (dn *DiscordNotifier) HandleEvent(ctx context.Context, event events.EventMessage)
- func (dn *DiscordNotifier) Send(ctx context.Context, message string) error
- func (dn *DiscordNotifier) Setup(ctx context.Context, newDN *DiscordNotifier) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscordNotifier ¶
type DiscordNotifier struct {
// contains filtered or unexported fields
}
func NewDiscordNotifier ¶
func (*DiscordNotifier) Disconnect ¶
func (dn *DiscordNotifier) Disconnect() error
func (*DiscordNotifier) HandleEvent ¶
func (dn *DiscordNotifier) HandleEvent(ctx context.Context, event events.EventMessage)
func (*DiscordNotifier) Send ¶
func (dn *DiscordNotifier) Send(ctx context.Context, message string) error
func (*DiscordNotifier) Setup ¶
func (dn *DiscordNotifier) Setup(ctx context.Context, newDN *DiscordNotifier) error
Click to show internal directories.
Click to hide internal directories.