util

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OptionalDebug

func OptionalDebug(debugEnabled bool) func(string, ...interface{})

OptionalDebug returns a function that will noop when debugEnabled=false, and will log the given msg using `log.Print` or `log.Printf` (depending on the number arguments given) debugEnabled=true

func SetAppInitializedFlag

func SetAppInitializedFlag()

SetAppInitializedFlag enables health check and sets the ready flag.

func SetAppIsLive

func SetAppIsLive(isLive bool)

SetAppIsLive enables health check and marks the app as live.

Types

This section is empty.

Jump to

Keyboard shortcuts

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