cosi

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCheckID

func LoadCheckID(checkType string) (string, error)

LoadCheckID reads a cosi configuration to obtain the _cid

func ValidCheckID

func ValidCheckID(cid string) (bool, error)

ValidCheckID validates a check bundle id

Types

type APIConfig

type APIConfig struct {
	Key string
	App string
	URL string
}

APIConfig defines the api configuraiton settings

func LoadAPIConfig

func LoadAPIConfig() (*APIConfig, error)

LoadAPIConfig loads the Circonus API configuration used by cosi

Jump to

Keyboard shortcuts

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