Documentation
¶
Index ¶
- func ExtractJSONArgument(args []string, jsonIndex int) (string, bool)
- type ConnEnv
- type Env
- type Handler
- type Registry
- func (r *Registry) Execute(ctx context.Context, env Env, args []string) Reply
- func (r *Registry) RegisterDirect(command string, key string, handler Handler) error
- func (r *Registry) RegisterDynamic(command string, typeValue string, handler Handler) error
- func (r *Registry) Routes() []Route
- func (r *Registry) SetDirectDefault(command string, handler Handler) error
- func (r *Registry) SetDynamicDefault(command string, handler Handler) error
- type Reply
- type ReplyKind
- type Route
- type RouteKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) RegisterDirect ¶
RegisterDirect handles a register direct.
func (*Registry) RegisterDynamic ¶
RegisterDynamic handles a register dynamic.
func (*Registry) SetDirectDefault ¶
SetDirectDefault sets a direct default.
type Reply ¶
Click to show internal directories.
Click to hide internal directories.