Documentation ¶
Index ¶
- func Destination() string
- func InputsConfig() string
- func ListenAddr() string
- func NewLogger() *slog.Logger
- func SetDestinationFlag(cmd *cobra.Command)
- func SetInputsConfigFlag(cmd *cobra.Command)
- func SetListenerFlag(cmd *cobra.Command, defaultValue string)
- func SetLogFlags(cmd *cobra.Command)
- func SetStrictModeFlag(cmd *cobra.Command)
- func StrictMode() bool
- func ValidateDestinationFlags(*cobra.Command, []string) error
- func ValidateInputsConfigFlags(*cobra.Command, []string) error
- func ValidateListenerFlags(*cobra.Command, []string) error
- func ValidateLogFlags(*cobra.Command, []string) error
- func ValidateMultiFunc(merge bool, funcs ...func(*cobra.Command, []string) error) func(*cobra.Command, []string) error
- func ValidateStrictModeFlags(*cobra.Command, []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Destination ¶
func Destination() string
func InputsConfig ¶ added in v0.1.0
func InputsConfig() string
func ListenAddr ¶
func ListenAddr() string
func SetDestinationFlag ¶
func SetInputsConfigFlag ¶ added in v0.1.0
func SetListenerFlag ¶
func SetLogFlags ¶
func SetStrictModeFlag ¶ added in v0.4.0
func StrictMode ¶ added in v0.4.0
func StrictMode() bool
func ValidateInputsConfigFlags ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.