Help us shape the future of Go! Take the 2026 Go Developer Survey

notify

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LarkWebhookService

type LarkWebhookService struct {
	// contains filtered or unexported fields
}

LarkWebhookService implements notify.Notifier with optional signature verification.

func NewLarkWebhookService

func NewLarkWebhookService(webhookURL, secret string) *LarkWebhookService

func (*LarkWebhookService) Send

func (s *LarkWebhookService) Send(_ context.Context, subject, message string) error

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

func NewNotifier

func NewNotifier() Notifier

func (*Notifier) InitService

func (n *Notifier) InitService(config *configs.NotifyConfig) error

func (*Notifier) Send

func (n *Notifier) Send(eventType, op, message string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL