Help us shape the future of Go! Take the 2026 Go Developer Survey

slack

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 1 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(token, 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(channelName, message string, opt ...slack.MsgOption) error

type Slack

type Slack interface {
	GetDevPanelURL() string
	GetErrorChannel() string
	SendToChannel(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