Versions in this module Expand all Collapse all v0 v0.0.1 Dec 31, 2020 Changes in this version + func EmojiToURL(urlFormat string, emoji string) (string, error) + type Adapter interface + SendMessage func(ccMsg Message, formattedMsg interface{}) (*fasthttp.Request, *fasthttp.Response, error) + SendWebhook func(url string, ccMsg Message, formattedMsg interface{}) (*fasthttp.Request, *fasthttp.Response, error) + WebhookUID func(ctx *fasthttp.RequestCtx) (string, error) + type Attachment struct + AuthorIcon string + AuthorLink string + AuthorName string + Color string + Fallback string + Fields []Field + MarkdownIn []string + Pretext string + Text string + ThumbnailURL string + Title string + func NewAttachment() Attachment + func (attach *Attachment) AddField(field Field) + type Field struct + Short bool + Title string + Value string + type Message struct + Activity string + Attachments []Attachment + IconEmoji string + IconURL string + Text string + Title string + func NewMessage() Message + func (msg *Message) AddAttachment(att Attachment)