Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCamelCase = true
Functions ¶
This section is empty.
Types ¶
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.