Documentation ¶
Index ¶
- type SlackClient
- type SlackClientFactory
- type SlackClientFactoryImpl
- type SlackClientImpl
- func (s *SlackClientImpl) PostMessage(ctx context.Context, channel string, msg slack.Msg) error
- func (s *SlackClientImpl) PostMessageToThread(ctx context.Context, channel, messageTs string, msg slack.Msg) error
- func (s *SlackClientImpl) UpdateMessage(ctx context.Context, channel, ts string, msg slack.Msg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackClient ¶
type SlackClientFactory ¶
type SlackClientFactory interface {
New(client slack.Client) (SlackClient, error)
}
func NewSlackClientFactory ¶
func NewSlackClientFactory() SlackClientFactory
type SlackClientFactoryImpl ¶
type SlackClientFactoryImpl struct{}
func (SlackClientFactoryImpl) New ¶
func (f SlackClientFactoryImpl) New(client slack.Client) (SlackClient, error)
type SlackClientImpl ¶
type SlackClientImpl struct {
// contains filtered or unexported fields
}
func NewSlackClientImpl ¶
func NewSlackClientImpl(client slack.Client) (*SlackClientImpl, error)
func (*SlackClientImpl) PostMessage ¶
func (*SlackClientImpl) PostMessageToThread ¶
func (*SlackClientImpl) UpdateMessage ¶
Click to show internal directories.
Click to hide internal directories.