slack

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DisplayName      = "Slack"
	HandlerKey       = "slack"
	MessageDirection = "in"
	MessageBodyType  = models.URLEncodedJSONPayloadOrJSON
)

Variables

This section is empty.

Functions

func BuildInboundMessageBytes

func BuildInboundMessageBytes(ctx *fasthttp.RequestCtx) []byte

func ExampleMessage added in v0.4.3

func ExampleMessage(cfg config.Configuration, data util.ExampleData, eventSlug string) (cc.Message, error)

func NewHandler

func NewHandler() handlers.Handler

func Normalize

func Normalize(config config.Configuration, bytes []byte) (cc.Message, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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