Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultApplicationTimeout = time.Second * 5
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context[Args any] struct { Args struct { Args Args Network string `long:"network" description:"network to serve on" default:"tcp" env:"APPLICATION_NETWORK"` Address string `long:"address" description:"Address to serve on" default:"0.0.0.0:5443" env:"APPLICATION_ADDRESS"` } // contains filtered or unexported fields }
type Option ¶
type Option[Args any] func(*options[Args])
func OptionGoFunc ¶
Click to show internal directories.
Click to hide internal directories.