notify: gomodules.xyz/notify/slack Index | Files

package slack

import "gomodules.xyz/notify/slack"

Index

Package Files

chat.go

Constants

const UID = "slack"

func Default Uses

func Default() (*client, error)

func Load Uses

func Load(loader envconfig.LoaderFunc) (*client, error)

func New Uses

func New(opt Options) *client

type Options Uses

type Options struct {
    AuthToken string   `envconfig:"AUTH_TOKEN" required:"true"`
    Channel   []string `envconfig:"CHANNEL"`
}

Package slack imports 5 packages (graph) and is imported by 2 packages. Updated 2020-07-15. Refresh now. Tools for package owners.