ding

package
v0.0.0-...-cd24349 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultInvokerCfg = InvokerCfg{
	Debug:      false,
	Mode:       "keyword",
	WebhookUrl: "",
}

Functions

func DefaultBuild

func DefaultBuild() module.Invoker

default invoker build

Types

type Client

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

func Invoker

func Invoker(name string) *Client

invoker

func (*Client) SendMsg

func (c *Client) SendMsg(msg string) (string, error)

type InvokerCfg

type InvokerCfg struct {
	Debug      bool
	Mode       string
	WebhookUrl string
}

example * [beemod.oss.myoss]

debug = true
mode  = "file"

Jump to

Keyboard shortcuts

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