Documentation ¶
Overview ¶
Package execs provides collection of execution functions for actions and ability to execute them.
Index ¶
- func Run(ctx context.Context, name string, args *RunArgs) error
- func ServodCallGet(ctx context.Context, in *RunArgs, command string) (*tlw.CallServodResponse, error)
- func ServodCallHas(ctx context.Context, in *RunArgs, command string) (*tlw.CallServodResponse, error)
- func ServodCallSet(ctx context.Context, in *RunArgs, command string, value interface{}) (*tlw.CallServodResponse, error)
- type RunArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServodCallGet ¶
func ServodCallGet(ctx context.Context, in *RunArgs, command string) (*tlw.CallServodResponse, error)
ServodCallGet calls servod with get method. Get method used to read values.
func ServodCallHas ¶
func ServodCallHas(ctx context.Context, in *RunArgs, command string) (*tlw.CallServodResponse, error)
ServodCallHas calls servod with doc method and verify if command is known by servod.
func ServodCallSet ¶
func ServodCallSet(ctx context.Context, in *RunArgs, command string, value interface{}) (*tlw.CallServodResponse, error)
ServodCallSet calls servod with set method. Set method used to update the values or call functions with arguments.
Types ¶
Click to show internal directories.
Click to hide internal directories.