Documentation
¶
Index ¶
- type Action
- type Attachment
- type FakeSlack
- func (f *FakeSlack) AssertMessageCount(t *testing.T, channel string, expectedCount int, expectedMessageDir string, ...) []Attachment
- func (f *FakeSlack) GetUserByEmail(email string) (*slack.User, error)
- func (f *FakeSlack) OpenConversation(_ *slack.OpenConversationParameters) (*slack.Channel, bool, bool, error)
- func (f *FakeSlack) SendMessage(channel string, options ...slack.MsgOption) (string, string, string, error)
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type FakeSlack ¶
FakeSlack the fake slack
func (*FakeSlack) AssertMessageCount ¶
func (f *FakeSlack) AssertMessageCount(t *testing.T, channel string, expectedCount int, expectedMessageDir string, expectedMessagePrefix string, generateTestOutput bool, message string) []Attachment
AssertMessageCount asserts the message count for the given channel
func (*FakeSlack) GetUserByEmail ¶
func (*FakeSlack) OpenConversation ¶
Click to show internal directories.
Click to hide internal directories.