Documentation ¶
Index ¶
- Constants
- func BuildInboundMessageBytes(ctx *fasthttp.RequestCtx) []byte
- func ExampleMessage(cfg config.Configuration, data util.ExampleData, eventSlug string) (cc.Message, error)
- func NewHandler() handlers.Handler
- func Normalize(config config.Configuration, hReq handlers.HandlerRequest) (cc.Message, error)
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 ¶
func ExampleMessage(cfg config.Configuration, data util.ExampleData, eventSlug string) (cc.Message, error)
func NewHandler ¶
func Normalize ¶
func Normalize(config config.Configuration, hReq handlers.HandlerRequest) (cc.Message, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.