slack

package
v0.0.0-...-c780252 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client defines a slack client and associated cache

func New

func New(channel string, token string, redisAddr string) (*Client, error)

New creates a new Slack client

func (*Client) Post

func (sc *Client) Post(d data.Data) error

Post posts a Radarr webhook formatted to a Slack message

Jump to

Keyboard shortcuts

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