Documentation ¶ Index ¶ type Slack func New(token string) (*Slack, error) func (a *Slack) GetUserByEmail(email string) (*slack.User, error) func (a *Slack) IsUserMemberOfGroup(user *slack.User, userGroupName string) (bool, error) func (a *Slack) PostMessage(channel string, message string) error func (a *Slack) UpdateUserGroup(userGroupName string, user string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Slack ¶ type Slack struct { Client *slack.Client } func New ¶ func New(token string) (*Slack, error) func (*Slack) GetUserByEmail ¶ func (a *Slack) GetUserByEmail(email string) (*slack.User, error) func (*Slack) IsUserMemberOfGroup ¶ func (a *Slack) IsUserMemberOfGroup(user *slack.User, userGroupName string) (bool, error) func (*Slack) PostMessage ¶ func (a *Slack) PostMessage(channel string, message string) error func (*Slack) UpdateUserGroup ¶ func (a *Slack) UpdateUserGroup(userGroupName string, user string) error Source Files ¶ View all Source files slack.go Click to show internal directories. Click to hide internal directories.