slackhandler

package
v0.0.0-...-5ee79ad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messager

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

func NewMessager

func NewMessager(slackConfig SlackConfig) *Messager

func (*Messager) SendMessage

func (m *Messager) SendMessage(messageText string) error

func (*Messager) SetChannelTopic

func (m *Messager) SetChannelTopic(topicString string) error

type SlackConfig

type SlackConfig struct {
	Token    string
	Channel  string
	UserName string
}

Jump to

Keyboard shortcuts

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