webcontrollers

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: GPL-3.0 Imports: 24 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 {
	// contains filtered or unexported fields
}

func NewJobsController

func NewJobsController(db *bolt.DB) *JobsController

func (*JobsController) Setup

func (controller *JobsController) Setup(router *gin.RouterGroup)

type OCRJob

type OCRJob struct {
	ID       uint64                `json:"id"`
	Name     string                `json:"name"`
	Results  []ocrschema.OCRResult `json:"results,omitempty"`
	Status   string                `json:"status,omitempty"`
	Template ocrschema.OCRTemplate `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(templates, tessdata string) *RemoteDevicesController

func (*RemoteDevicesController) Setup

func (controller *RemoteDevicesController) Setup(router *gin.RouterGroup)

type ServerClient added in v0.8.0

type ServerClient struct {
	Name    string
	Address string
	Handler *wsserver.RemoteServerWS
}

ServerClient - holds basic information about rok-remote instance connected to websocket

type TemplateMakerSession

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

type TemplatesController

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

func NewTemplatesController

func NewTemplatesController(templateDir, tessdataDir string) *TemplatesController

func (*TemplatesController) Setup

func (controller *TemplatesController) Setup(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

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