Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCamelCase = true
View Source
var DefaultHttpSupport = false
Functions ¶
This section is empty.
Types ¶
type CommandOptions ¶ added in v1.4.0
type CommandOptions struct {
HttpSupport *bool
}
func Command ¶ added in v1.4.0
func Command() *CommandOptions
func MergeCommandOptions ¶ added in v1.4.0
func MergeCommandOptions(opts ...*CommandOptions) *CommandOptions
MergeCommandOptions combines the given *CommandOptions into one *CommandOptions in a last one wins fashion.
func (*CommandOptions) WithHttpSupport ¶ added in v1.4.0
func (opts *CommandOptions) WithHttpSupport() *CommandOptions
type LoadEnvOptions ¶
type LoadEnvOptions struct {
CamelCase *bool
}
func LoadEnv ¶
func LoadEnv() *LoadEnvOptions
func MergeLoadEnvOptions ¶
func MergeLoadEnvOptions(opts ...*LoadEnvOptions) *LoadEnvOptions
MergeLoadEnvOptions combines the given *LoadEnvOptions into one *LoadEnvOptions in a last one wins fashion.
func (*LoadEnvOptions) SetCamelCase ¶
func (leo *LoadEnvOptions) SetCamelCase(b bool) *LoadEnvOptions
type ServeOptions ¶
type ServeOptions struct {
ServePort *int
}
func MergeServeOptions ¶
func MergeServeOptions(opts ...*ServeOptions) *ServeOptions
func Serve ¶
func Serve() *ServeOptions
func (*ServeOptions) SetHttpPort ¶
func (leo *ServeOptions) SetHttpPort(p int) *ServeOptions
Click to show internal directories.
Click to hide internal directories.