usp_slack

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackAdapter

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

func NewSlackAdapter

func NewSlackAdapter(conf SlackConfig) (*SlackAdapter, chan struct{}, error)

func (*SlackAdapter) Close

func (a *SlackAdapter) Close() error

type SlackConfig

type SlackConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	Token         string                  `json:"token" yaml:"token"`
}

func (*SlackConfig) Validate

func (c *SlackConfig) Validate() error

Jump to

Keyboard shortcuts

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