Documentation
¶
Overview ¶
Package do contains Task types and methods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMyInstance ¶ added in v0.3.18
SetMyInstance sets the My instance
Types ¶
type Action ¶
type Action struct {
Name string
Fn ActionFn
Cmd CmdParamsFn
Web WebParamsFn
}
func (Action) CmdHandler ¶
func (t Action) CmdHandler() root.CmdHandler
CmdHandler returns an Action root command handler
func (Action) WebHandler ¶
WebHandler returns an Action web handler
type Data ¶
type Data[T any] struct { Name string Fn DataFn[T] Cmd CmdParamsFn Web WebParamsFn }
func (Data[T]) CmdHandler ¶
func (t Data[T]) CmdHandler() root.CmdHandler
CmdHandler returns a Data root command handler
func (Data[T]) WebHandler ¶
WebHandler returns a Data web handler
Click to show internal directories.
Click to hide internal directories.