runtime

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type Environment

type Environment struct {
	DevelopmentMode bool `flag:"env short=d" flag-usage:"change environment mode to development"`
	JSONLogStyle    bool `flag:"env name=json-log-style short=j" flag-usage:"change log style to JSON"`
}

type Flag

type Flag struct {
	Number      int           `flag:"env"`
	Duration    time.Duration `flag:""`
	Environment Environment   `flag:""`
}

Jump to

Keyboard shortcuts

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