hipchat

package
v0.0.0-...-55860fd Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const UID = "hipchat"

Variables

This section is empty.

Functions

func Default

func Default() (*client, error)

func Load

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

func New

func New(opt Options) *client

Types

type Options

type Options struct {
	AuthToken          string        `envconfig:"AUTH_TOKEN" required:"true"`
	To                 []string      `envconfig:"TO"`
	BaseURL            string        `envconfig:"BASE_URL"`
	CACertData         string        `envconfig:"CA_CERT_DATA"`
	InsecureSkipVerify bool          `envconfig:"INSECURE_SKIP_VERIFY"`
	Color              hipchat.Color `envconfig:"COLOR"`
	Notify             bool          `envconfig:"NOTIFY"`
}

Jump to

Keyboard shortcuts

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