assignmentupdater

package
v0.0.0-...-a1c7d3d Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(s service.AssignmentService) http.Handler

Types

type AssignmentRequest

type AssignmentRequest struct {
	WorkerID   uint64 `json:"worker_id"`
	JobID      uint64 `json:"job_id"`
	ResponseID uint64 `json:"response_id"`
	Status     string `json:"status"`
}

type AssignmentResponse

type AssignmentResponse struct {
	Updated bool `json:"updated"`
}

Jump to

Keyboard shortcuts

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