Documentation ¶
Index ¶
- Variables
- func Callername() string
- func Debuglevel() int
- func Development() bool
- func DisableProfiling()
- func EnableProfiling()
- func Funcname() string
- func KubernetesPod() bool
- func Loglevel() int
- func PrintAsJSON(v interface{})
- func Production() bool
- func ProfilingEnabled() bool
- func ReadPassword(prompt string) ([]byte, error)
- func ReadString(prompt string) ([]byte, error)
- func SetDebuglevel(level int)
- func SetLoglevel(level int)
- func SetProfiling(on bool)
- func Setproduction()
- func Trace()
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Callername ¶
func Callername() string
func Debuglevel ¶
func Debuglevel() int
func Development ¶
func Development() bool
func DisableProfiling ¶
func DisableProfiling()
func EnableProfiling ¶
func EnableProfiling()
func PrintAsJSON ¶
func PrintAsJSON(v interface{})
func Production ¶
func Production() bool
func ProfilingEnabled ¶
func ProfilingEnabled() bool
func ReadPassword ¶
func ReadString ¶
func SetDebuglevel ¶
func SetDebuglevel(level int)
func SetLoglevel ¶
func SetLoglevel(level int)
func SetProfiling ¶
func SetProfiling(on bool)
func Setproduction ¶
func Setproduction()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.