Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Messager ¶
type Messager struct { Config *slack.PostMessageParameters // contains filtered or unexported fields }
Messager contains required information
func NewMessager ¶
func NewMessager(token string, channel string, config *slack.PostMessageParameters) (*Messager, error)
NewMessager creates a new messager for channel messaging.
type RateLimitedError ¶
RateLimitedError implements error interface
func (*RateLimitedError) Error ¶
func (e *RateLimitedError) Error() string
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook contains required information
func NewWebhook ¶
NewWebhook return a incoming webhook for sending data into Slack in real-time.
Click to show internal directories.
Click to hide internal directories.