Documentation ¶
Index ¶
- Variables
- func ConfigureDebugLevel()
- func FailOnError(err error, msg string)
- func FunctionName() string
- func GetClientTLSConfig(proto string) *tls.Config
- func GetServerTLSConfig(proto string) *tls.Config
- func GetURIParameters(uri string) (parameters map[string]interface{})
- func InArray(a string, list []string) bool
- func Println(messageLevel DebugLevel, message ...interface{})
- func PrintlnDebug(message ...interface{})
- func PrintlnError(message ...interface{})
- func PrintlnInfo(message ...interface{})
- func PrintlnMessage(message ...interface{})
- type DebugLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var SHOW_MESSAGES = []DebugLevel{} //ERROR, INFO, MESSAGE} //, DEBUG}
Functions ¶
func ConfigureDebugLevel ¶
func ConfigureDebugLevel()
func FailOnError ¶
func FunctionName ¶
func FunctionName() string
func GetClientTLSConfig ¶ added in v1.14.9
func GetServerTLSConfig ¶ added in v1.14.9
func GetURIParameters ¶ added in v1.14.9
func Println ¶
func Println(messageLevel DebugLevel, message ...interface{})
func PrintlnDebug ¶
func PrintlnDebug(message ...interface{})
func PrintlnError ¶
func PrintlnError(message ...interface{})
func PrintlnInfo ¶
func PrintlnInfo(message ...interface{})
func PrintlnMessage ¶
func PrintlnMessage(message ...interface{})
Types ¶
type DebugLevel ¶
type DebugLevel int
const ( ERROR DebugLevel = 0 INFO DebugLevel = 1 MESSAGE DebugLevel = 2 DEBUG DebugLevel = 3 )
func (DebugLevel) ToInt ¶
func (d DebugLevel) ToInt() int
Click to show internal directories.
Click to hide internal directories.