controller

package
v0.0.0-...-314964c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpController

type HttpController struct {
	// contains filtered or unexported fields
}

func NewHttpController

func NewHttpController(dbHandler db.DatabaseHandler, solverHost string) HttpController

func (*HttpController) CreateJob

func (c *HttpController) CreateJob(ctx *gin.Context)

CreateJob - Create a new job

func (*HttpController) EditJob

func (c *HttpController) EditJob(ctx *gin.Context)

EditJob - Edit a job - data possibly partial

func (*HttpController) GetAllJobs

func (c *HttpController) GetAllJobs(ctx *gin.Context)

GetAllJobs - Get all jobs

func (*HttpController) GetJob

func (c *HttpController) GetJob(ctx *gin.Context)

GetJob - Get a job by its id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL