slack

package
v1.3.161 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	// contains filtered or unexported fields
}

func NewSlackGo

func NewSlackGo(botTokens map[string]string, errorChannel, devPanelURL string) *APIClient

func (*APIClient) GetDevPanelURL

func (s *APIClient) GetDevPanelURL() string

func (*APIClient) GetErrorChannel

func (s *APIClient) GetErrorChannel() string

func (*APIClient) SendToChannel

func (s *APIClient) SendToChannel(botName, channelName, message string, opt ...slack.MsgOption) error

type Slack

type Slack interface {
	GetDevPanelURL() string
	GetErrorChannel() string
	SendToChannel(botName, channelName, message string, opt ...slack.MsgOption) error
}

Jump to

Keyboard shortcuts

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