Documentation ¶
Overview ¶
Package slack implements Slack provider
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider represents the provider
type SRMMChannel ¶ added in v1.8.0
type SRMMChannel struct {
Name string `json:"name"`
}
SRMMChannel represents the structure of the search result messages matches channel field
type SRMMatches ¶ added in v1.8.0
type SRMMatches struct { Type string `json:"type"` Username string `json:"username"` Text string `json:"text"` Permalink string `json:"permalink"` Ts string `json:"ts"` Channel *SRMMChannel `json:"channel"` }
SRMMatches represents the structure of the search result messages matches
type SRMessages ¶ added in v1.8.0
type SRMessages struct { Total int `json:"total"` Path string `json:"path"` Matches []*SRMMatches `json:"matches"` }
SRMessages represents the structure of the search result messages
type SearchResult ¶
type SearchResult struct { Ok bool `json:"ok"` Query string `json:"query"` Messages *SRMessages `json:"messages"` }
SearchResult represents the structure of the search result
Click to show internal directories.
Click to hide internal directories.