Documentation ¶
Index ¶
- type Execution
- type ExecutionHandler
- type ExecutionStore
- func (store *ExecutionStore) CreateExecution(e *Execution) (*Execution, error)
- func (store *ExecutionStore) DeleteExecution(id int) error
- func (store *ExecutionStore) Execute(id int) ([]map[string]interface{}, error)
- func (store *ExecutionStore) GetExecution(id int) (*Execution, error)
- func (store *ExecutionStore) ListExecutions(perPage int, lastId int) (*[]Execution, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execution ¶
type ExecutionHandler ¶
type ExecutionHandler struct { Store *ExecutionStore ResultCache *results.ResultCache Logger *log.Logger PageSize int }
func (*ExecutionHandler) ServeHTTP ¶
func (h *ExecutionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ExecutionStore ¶
func (*ExecutionStore) CreateExecution ¶
func (store *ExecutionStore) CreateExecution(e *Execution) (*Execution, error)
func (*ExecutionStore) DeleteExecution ¶
func (store *ExecutionStore) DeleteExecution(id int) error
func (*ExecutionStore) Execute ¶
func (store *ExecutionStore) Execute(id int) ([]map[string]interface{}, error)
func (*ExecutionStore) GetExecution ¶
func (store *ExecutionStore) GetExecution(id int) (*Execution, error)
func (*ExecutionStore) ListExecutions ¶
func (store *ExecutionStore) ListExecutions(perPage int, lastId int) (*[]Execution, error)
Click to show internal directories.
Click to hide internal directories.