Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonModules = fx.Options( controllers.Module, routes.Module, services.Module, middlewares.Module, repo.Module, config.Module, )
View Source
var RootApp = NewApp()
Functions ¶
func GetSubCommands ¶
GetSubCommands gives a list of sub commands
func SetAppVersion ¶
func SetAppVersion(version, commit, buildTime string)
Types ¶
type ApiServerCommand ¶
type ApiServerCommand struct{}
ApiServerCommand test command
func NewApiServerCommand ¶
func NewApiServerCommand() *ApiServerCommand
func (*ApiServerCommand) Run ¶
func (s *ApiServerCommand) Run() utils.CommandRunner
func (*ApiServerCommand) Setup ¶
func (s *ApiServerCommand) Setup(cmd *cobra.Command)
func (*ApiServerCommand) Short ¶
func (s *ApiServerCommand) Short() string
type EchoServerCommand ¶
type EchoServerCommand struct{}
EchoServerCommand test echo server command
func NewEchoServerCommand ¶
func NewEchoServerCommand() *EchoServerCommand
func (*EchoServerCommand) Run ¶
func (s *EchoServerCommand) Run() utils.CommandRunner
func (*EchoServerCommand) Setup ¶
func (s *EchoServerCommand) Setup(cmd *cobra.Command)
func (*EchoServerCommand) Short ¶
func (s *EchoServerCommand) Short() string
type FileServerCommand ¶
type FileServerCommand struct{}
ServeCommand test command
func NewFileServerCommand ¶
func NewFileServerCommand() *FileServerCommand
func (*FileServerCommand) Run ¶
func (s *FileServerCommand) Run() utils.CommandRunner
func (*FileServerCommand) Setup ¶
func (s *FileServerCommand) Setup(cmd *cobra.Command)
func (*FileServerCommand) Short ¶
func (s *FileServerCommand) Short() string
Click to show internal directories.
Click to hide internal directories.