lark

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LarkNotifier

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

func New

func New(config *LarkNotifierConfig) (*LarkNotifier, error)

func (*LarkNotifier) Notify

func (n *LarkNotifier) Notify(ctx context.Context, subject string, message string) (res *notifier.NotifyResult, err error)

type LarkNotifierConfig

type LarkNotifierConfig struct {
	WebhookUrl string `json:"webhookUrl"`
}

Jump to

Keyboard shortcuts

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