Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateShutdownChannel ¶
CreateShutdownChannel returns a channel which can be used to block for a termination signal (SIGTERM, SIGINT, etc)
Types ¶
type Environment ¶ added in v0.0.49
type Environment string
const ( Stable Environment = "stable" Sandbox Environment = "sandbox" Edge Environment = "edge" Dev Environment = "dev" )
func GetEnvironment ¶ added in v0.0.49
func GetEnvironment() (Environment, error)
func MustGetEnvironment ¶ added in v0.0.49
func MustGetEnvironment() Environment
func NewEnvironment ¶ added in v0.0.49
func NewEnvironment(env string) (Environment, error)
Click to show internal directories.
Click to hide internal directories.