Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRunner ¶
type HttpRunner struct {
// contains filtered or unexported fields
}
func (HttpRunner) Run ¶
func (r HttpRunner) Run(ctx context.Context, script []byte) (*RunResponse, error)
func (HttpRunner) WithLogger ¶
func (r HttpRunner) WithLogger(logger *zerolog.Logger) Runner
type LocalRunner ¶
type LocalRunner struct {
// contains filtered or unexported fields
}
func (LocalRunner) Run ¶
func (r LocalRunner) Run(ctx context.Context, script []byte) (*RunResponse, error)
func (LocalRunner) WithLogger ¶
func (r LocalRunner) WithLogger(logger *zerolog.Logger) Runner
type RunRequest ¶
type RunRequest struct {
Script []byte `json:"script"`
}
type RunResponse ¶
type Runner ¶
Click to show internal directories.
Click to hide internal directories.