Documentation ¶
Index ¶
- func Prepare(root *cobra.Command)
- type Run
- type RunCmd
- type Server
- func (*Server) GetArgs() cobra.PositionalArgs
- func (*Server) GetDescription() string
- func (*Server) GetLongDescription() string
- func (*Server) GetRequiredFlags() []string
- func (*Server) Info() string
- func (s *Server) Run() RunCmd
- func (*Server) ServeHTTP(rw http.ResponseWriter, req *http.Request)
- func (*Server) SetFlags(f *pflag.FlagSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Run ¶
type Run struct{}
func (*Run) GetDescription ¶
GetDescription returns the command description.
func (*Run) GetLongDescription ¶
GetLongDescription returns the command long description.
func (*Run) GetRequiredFlags ¶
GetRequiredFlags returns the server required flags.
type Server ¶
type Server struct{}
func (*Server) GetDescription ¶
GetDescription returns the command description.
func (*Server) GetLongDescription ¶
GetLongDescription returns the command long description.
func (*Server) GetRequiredFlags ¶
GetRequiredFlags returns the server required flags.
Click to show internal directories.
Click to hide internal directories.