Documentation
¶
Index ¶
- type Service
- func (s *Service) GetConfiguration(ctx context.Context) (WorkspaceConfiguration, error)
- func (s *Service) GetConfigurationForToken(ctx context.Context, token string) (WorkspaceConfiguration, error)
- func (s *Service) IsEnabled() bool
- func (s *Service) SendMessage(ctx context.Context, channel string, message *types.Message) (*types.SendResult, error)
- type WorkspaceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(cfg *config.SlackConfig, logger *zap.SugaredLogger) (*Service, error)
func (*Service) GetConfiguration ¶ added in v0.16.0
func (s *Service) GetConfiguration(ctx context.Context) (WorkspaceConfiguration, error)
func (*Service) GetConfigurationForToken ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.