webcontrollers

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobsController

type JobsController struct {
	Router *gin.RouterGroup
	// contains filtered or unexported fields
}

func NewJobsController

func NewJobsController(router *gin.RouterGroup, db *bolt.DB) *JobsController

func (*JobsController) Setup

func (controller *JobsController) Setup()

type OCRJob

type OCRJob struct {
	ID       uint64                   `json:"id"`
	Name     string                   `json:"name"`
	Results  []ocrschema.OCRResponse  `json:"results,omitempty"`
	Status   string                   `json:"status,omitempty"`
	Template ocrschema.RokOCRTemplate `json:"template,omitempty"`
}

func (*OCRJob) MediaDirectory

func (job *OCRJob) MediaDirectory() string

type RemoteDevicesController

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

func NewRemoteDevicesController

func NewRemoteDevicesController(router *gin.RouterGroup, templates, tessdata string) *RemoteDevicesController

func (*RemoteDevicesController) Setup

func (controller *RemoteDevicesController) Setup()

type TemplateMakerSession

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

type TemplatesController

type TemplatesController struct {
	Router *gin.RouterGroup
	// contains filtered or unexported fields
}

func NewTemplatesController

func NewTemplatesController(router *gin.RouterGroup, templateDir, tessdataDir string) *TemplatesController

func (*TemplatesController) Setup

func (controller *TemplatesController) Setup()

Jump to

Keyboard shortcuts

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