helpers

package
v0.0.0-...-9cdc9d2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Production  bool = false
	Development bool = false
	Testing     bool = false
)
View Source
var CollectorPort int
View Source
var DBAdminPassword string
View Source
var DBAdminUsername string
View Source
var DBHostname string
View Source
var DBName string
View Source
var DBPassword string
View Source
var DBTLS string
View Source
var DBUsername string
View Source
var TLS bool
View Source
var WaveAddress string
View Source
var WaveBind string
View Source
var WaveHostname string
View Source
var WavePort int

Functions

func RandomString

func RandomString() (random_string string)

func RunTLS

func RunTLS(handler http.Handler, address string, config *tls.Config)

func Setup

func Setup()

func StringIncludedIn

func StringIncludedIn(set []string, member string) bool

func StringsExcept

func StringsExcept(set []string, member string) []string

func TestingCmd

func TestingCmd() bool

Determine if the command was generated by `go test`

Types

This section is empty.

Jump to

Keyboard shortcuts

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