Documentation
¶
Index ¶
- func Bool(fs *pflag.FlagSet, name, envKey string) (bool, error)
- func Duration(fs *pflag.FlagSet, name, envKey string) (time.Duration, error)
- func HostPort(fs *pflag.FlagSet, name, envKey string) (string, error)
- func Int(fs *pflag.FlagSet, name, envKey string) (int, error)
- func SchemaHostPort(fs *pflag.FlagSet, name, envKey string) (string, error)
- func String(fs *pflag.FlagSet, name, envKey string) (string, error)
- func URL(fs *pflag.FlagSet, name, envKey string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SchemaHostPort ¶
SchemaHostPort parses schema://host:port from flag/env/default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.