Documentation
¶
Index ¶
- Constants
- func ExecuteStartServerSpf13CobraCommand(opts Opts) func(*cobra.Command, []string)
- func NewHttpServerSpf13CobraCommand(seq ...func(*Opts)) *cobra.Command
- func NewRootSpf13CobraCommand(opts Opts) *cobra.Command
- func NewStartServerSpf13CobraCommand(opts Opts) *cobra.Command
- func RunHttpServerSpf13CobraCommand(seq ...func(*Opts))
- func RunSpf13CobraCommand(f func(Opts) *cobra.Command, seq ...func(*Opts))
- func WithApi(name string) func(*Opts)
- func WithOption(option fx.Option) func(*Opts)
- func WithOptionFactory(f func(config config.Config) fx.Option) func(*Opts)
- type Opts
Constants ¶
View Source
const (
App = "switch"
)
Variables ¶
This section is empty.
Functions ¶
func RunHttpServerSpf13CobraCommand ¶
func RunHttpServerSpf13CobraCommand(seq ...func(*Opts))
func RunSpf13CobraCommand ¶
func WithOption ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.