Documentation ¶
Index ¶
Constants ¶
View Source
const ( DisplayName = "Desk.com" HandlerKey = "deskdotcom" MessageDirection = "out" DocumentationURL = "https://support.desk.com/customer/portal/articles/869334-configuring-webhooks-in-desk-com-apps" )
Variables ¶
This section is empty.
Functions ¶
func ExampleMessage ¶
func ExampleMessage(cfg config.Configuration, data util.ExampleData, eventSlug string) (cc.Message, error)
Types ¶
type Handler ¶
type Handler struct { Config config.Configuration Adapter adapters.Adapter }
FastHttp request handler for Travis CI outbound webhook
func NewHandler ¶
func NewHandler(cfg config.Configuration, adapter adapters.Adapter) Handler
FastHttp request handler constructor for Travis CI outbound webhook
func (*Handler) HandleFastHTTP ¶
func (h *Handler) HandleFastHTTP(ctx *fasthttp.RequestCtx)
HandleFastHTTP is the method to respond to a fasthttp request.
func (Handler) HandlerKey ¶
func (Handler) MessageDirection ¶
Click to show internal directories.
Click to hide internal directories.