slackclient

package
v0.0.0-...-4e89a78 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Client

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

func New

func New(config Config) (*Client, error)

func (*Client) PostAlertSummaries

func (c *Client) PostAlertSummaries(thread_ts string, summary opsgenieclient.AlertSummary) error

func (*Client) PostCountSummary

func (c *Client) PostCountSummary(summary opsgenieclient.CountSummary) (string, error)

type Config

type Config struct {
	Logger micrologger.Logger

	Channel string
	Token   string
}

Jump to

Keyboard shortcuts

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