slackclient

package
v0.0.0-...-59fe2b4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EphemeralFileMessage

func EphemeralFileMessage(channel string, user string, message string, title string) error

EphemeralFileMessage func

func EphemeralMessage

func EphemeralMessage(channel string, user string, message string) error

EphemeralMessage func

func HealthSlack

func HealthSlack(url string, token string) (string, error)

HealthSlack func

Types

type Slack

type Slack struct {
	Name  string
	Token string

	User   string
	UserID string

	Client *slack.Client
}

Slack struct for our slackbot

func New

func New() (*Slack, error)

New returns a new instance of the Slack struct, primary for our slackbot

Jump to

Keyboard shortcuts

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