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

package mattermost

import "gomodules.xyz/notify/mattermost"

Index

Package Files

chat.go

Constants

const UID = "mattermost"

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 {
    Url     string   `envconfig:"URL" required:"true"`
    HookId  string   `envconfig:"HOOK_ID" required:"true"`
    IconUrl string   `envconfig:"ICON_URL"`
    BotName string   `envconfig:"BOT_NAME"`
    Channel []string `envconfig:"CHANNEL"`
}

Package mattermost imports 8 packages (graph) and is imported by 2 packages. Updated 2019-04-29. Refresh now. Tools for package owners.