sdk

package
v0.0.0-...-7bb76c6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

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

func NewCallback

func NewCallback(logger *zap.Logger) (*Callback, error)

func (*Callback) Message

func (c *Callback) Message(messages ...string)

func (*Callback) Messagef

func (c *Callback) Messagef(message string, a ...interface{})

type CallbackConfig

type CallbackConfig struct {
	CallbackUrl string `split_words:"true" required:"true"`
}

type CallbackMessage

type CallbackMessage struct {
	Messages []string `json:"messages"`
}

Jump to

Keyboard shortcuts

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