slackcli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 14 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 {
	Log *zap.Logger
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cliAddr string, cliToken string, slackToken string) (*Client, error)

func (*Client) CloseMonitoringIssue

func (c *Client) CloseMonitoringIssue(ctx context.Context, req slack.SlashCommand, user string, id string)

func (*Client) CopyRoom

func (c *Client) CopyRoom(ctx context.Context, req slack.SlashCommand, user string, src, dst string)

TODO pass default designation to *Client & use that for all calls

func (*Client) FixTime

func (c *Client) FixTime(ctx context.Context, req slack.SlashCommand, user string, id string)

func (*Client) Float

func (c *Client) Float(ctx context.Context, req slack.SlashCommand, user string, id string)

TODO pass default designation to *Client & use that for all calls

func (*Client) RemoveDeviceFromMonitoring

func (c *Client) RemoveDeviceFromMonitoring(ctx context.Context, req slack.SlashCommand, user string, id string)

func (*Client) Screenshot

func (c *Client) Screenshot(ctx context.Context, req slack.SlashCommand, user string, id string)

func (*Client) Sink

func (c *Client) Sink(ctx context.Context, req slack.SlashCommand, user string, id string)

func (*Client) Swab

func (c *Client) Swab(ctx context.Context, req slack.SlashCommand, user string, id string)

Jump to

Keyboard shortcuts

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