dingtalk

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DingTalk

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

func NewDingTalk

func NewDingTalk(config map[string]interface{}, appCfg *config.App) *DingTalk

NewDingTalk returns new DingTalk instance

func (*DingTalk) Name

func (d *DingTalk) Name() string

Name returns name of the provider

func (*DingTalk) SendEvent

func (d *DingTalk) SendEvent(e *event.Event) error

SendEvent sends event to the provider

func (*DingTalk) SendMessage

func (d *DingTalk) SendMessage(msg string) error

SendMessage sends text message to the provider

Jump to

Keyboard shortcuts

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