slack

package
v0.15.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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) IsEnabled

func (s *Service) IsEnabled() bool

IsEnabled returns true if the slack service is enabled

func (*Service) SendMessage

func (s *Service) SendMessage(ctx context.Context, channel string, message *types.Message) (*types.SendResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL