Documentation
¶
Index ¶
- type EmptyReq
- type HandlerObject
- func (ho *HandlerObject) Commands() *handler.Commands
- func (ho *HandlerObject) EC() *cli.ExitClose
- func (ho *HandlerObject) EmptyHandler(e *EmptyReq) int
- func (*HandlerObject) EmptyUsage() *handler.CommandDetails
- func (ho *HandlerObject) Handlers(rnr *cli.Runner) []any
- func (ho *HandlerObject) ListHandler(e *ListReq) []string
- func (*HandlerObject) ListUsage() *handler.CommandDetails
- func (ho *HandlerObject) PersonHandler(p *PersonReq) *PersonResp
- func (*HandlerObject) PersonUsage() *handler.CommandDetails
- func (ho *HandlerObject) Runner() *cli.Runner
- func (ho *HandlerObject) SetTimeoutHandler(e *SetTimeoutReq) *SetTimeoutResp
- func (ho *HandlerObject) TimeoutHandler(e *TimeoutReq)
- type ListReq
- type PersonReq
- type PersonResp
- type SetTimeoutReq
- type SetTimeoutResp
- type TimeoutReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerObject ¶
type HandlerObject struct { People []string EmptyCounter int Timeout int *cli.ExitCloseHandler cli.Helper }
func New ¶
func New(ec *cli.ExitClose) *HandlerObject
func (*HandlerObject) Commands ¶
func (ho *HandlerObject) Commands() *handler.Commands
func (*HandlerObject) EC ¶
func (ho *HandlerObject) EC() *cli.ExitClose
func (*HandlerObject) EmptyHandler ¶
func (ho *HandlerObject) EmptyHandler(e *EmptyReq) int
func (*HandlerObject) EmptyUsage ¶
func (*HandlerObject) EmptyUsage() *handler.CommandDetails
func (*HandlerObject) ListHandler ¶
func (ho *HandlerObject) ListHandler(e *ListReq) []string
func (*HandlerObject) ListUsage ¶
func (*HandlerObject) ListUsage() *handler.CommandDetails
func (*HandlerObject) PersonHandler ¶
func (ho *HandlerObject) PersonHandler(p *PersonReq) *PersonResp
func (*HandlerObject) PersonUsage ¶
func (*HandlerObject) PersonUsage() *handler.CommandDetails
func (*HandlerObject) Runner ¶
func (ho *HandlerObject) Runner() *cli.Runner
func (*HandlerObject) SetTimeoutHandler ¶
func (ho *HandlerObject) SetTimeoutHandler(e *SetTimeoutReq) *SetTimeoutResp
func (*HandlerObject) TimeoutHandler ¶
func (ho *HandlerObject) TimeoutHandler(e *TimeoutReq)
type PersonResp ¶
type PersonResp struct {
Name string
}
type SetTimeoutReq ¶
type SetTimeoutReq struct {
Timeout int
}
type SetTimeoutResp ¶
type SetTimeoutResp struct {
Timeout int
}
type TimeoutReq ¶
type TimeoutReq struct{}
Click to show internal directories.
Click to hide internal directories.