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

package notify17

import "gomodules.xyz/notify/notify17"

Index

Package Files

notify.go

Constants

const (
    Notify17APIURL = "https://hook.notify17.net/api/raw"
    UID            = "notify17"
)

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 {
    Token   string `envconfig:"TOKEN" required:"true"`
    Message string `envconfig:"MESSAGE"`

    // Optional params
    Title string `envconfig:"TITLE"`
}

Options allows full configuration of the message sent to the Notify17 API

Package notify17 imports 8 packages (graph). Updated 2020-03-10. Refresh now. Tools for package owners.