Documentation ¶
Index ¶
- type JobsController
- func (controller *JobsController) CreateJobForm(c *gin.Context)
- func (controller *JobsController) DeleteJobByID(c *gin.Context)
- func (controller *JobsController) ExportJobAsCSV(c *gin.Context)
- func (controller *JobsController) ExportJobResultsHTML(c *gin.Context)
- func (controller *JobsController) GetJobByID(c *gin.Context)
- func (controller *JobsController) GetJobsList(c *gin.Context)
- func (controller *JobsController) StartJobByID(c *gin.Context)
- func (controller *JobsController) UploadFilesForJob(c *gin.Context)
- type OCRJob
- type RemoteDevicesController
- type ServerClient
- type TemplateMakerSession
- type TemplatesController
- func (controller *TemplatesController) AddAreaOnTemplate(c *gin.Context)
- func (controller *TemplatesController) AddCheckpointOnTemplate(c *gin.Context)
- func (controller *TemplatesController) EditTemplateByID(c *gin.Context)
- func (controller *TemplatesController) ExportTemplateByID(c *gin.Context)
- func (controller *TemplatesController) GetTemplateImage(c *gin.Context)
- func (controller *TemplatesController) ListTemplates(c *gin.Context)
- func (controller *TemplatesController) NewTemplateForm(c *gin.Context)
- func (controller *TemplatesController) NewTemplatePost(c *gin.Context)
- func (controller *TemplatesController) TestTemplateByID(c *gin.Context)
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, tessdata string) *JobsController
func (*JobsController) CreateJobForm ¶
func (controller *JobsController) CreateJobForm(c *gin.Context)
func (*JobsController) DeleteJobByID ¶
func (controller *JobsController) DeleteJobByID(c *gin.Context)
func (*JobsController) ExportJobAsCSV ¶
func (controller *JobsController) ExportJobAsCSV(c *gin.Context)
func (*JobsController) ExportJobResultsHTML ¶
func (controller *JobsController) ExportJobResultsHTML(c *gin.Context)
func (*JobsController) GetJobByID ¶
func (controller *JobsController) GetJobByID(c *gin.Context)
func (*JobsController) GetJobsList ¶
func (controller *JobsController) GetJobsList(c *gin.Context)
func (*JobsController) StartJobByID ¶
func (controller *JobsController) StartJobByID(c *gin.Context)
func (*JobsController) UploadFilesForJob ¶
func (controller *JobsController) UploadFilesForJob(c *gin.Context)
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 ¶
type RemoteDevicesController ¶
type RemoteDevicesController struct {
// contains filtered or unexported fields
}
func NewRemoteDevicesController ¶
func NewRemoteDevicesController(templates, tessdata string) *RemoteDevicesController
func (*RemoteDevicesController) Data ¶
func (controller *RemoteDevicesController) Data(ctx *gin.Context)
func (*RemoteDevicesController) Disconnect ¶
func (controller *RemoteDevicesController) Disconnect(ctx *gin.Context)
func (*RemoteDevicesController) GetListOfDevices ¶
func (controller *RemoteDevicesController) GetListOfDevices(c *gin.Context)
func (*RemoteDevicesController) Websocket ¶
func (controller *RemoteDevicesController) Websocket(c *gin.Context)
type ServerClient ¶
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) AddAreaOnTemplate ¶
func (controller *TemplatesController) AddAreaOnTemplate(c *gin.Context)
func (*TemplatesController) AddCheckpointOnTemplate ¶
func (controller *TemplatesController) AddCheckpointOnTemplate(c *gin.Context)
func (*TemplatesController) EditTemplateByID ¶
func (controller *TemplatesController) EditTemplateByID(c *gin.Context)
func (*TemplatesController) ExportTemplateByID ¶
func (controller *TemplatesController) ExportTemplateByID(c *gin.Context)
func (*TemplatesController) GetTemplateImage ¶
func (controller *TemplatesController) GetTemplateImage(c *gin.Context)
func (*TemplatesController) ListTemplates ¶
func (controller *TemplatesController) ListTemplates(c *gin.Context)
func (*TemplatesController) NewTemplateForm ¶
func (controller *TemplatesController) NewTemplateForm(c *gin.Context)
func (*TemplatesController) NewTemplatePost ¶
func (controller *TemplatesController) NewTemplatePost(c *gin.Context)
func (*TemplatesController) TestTemplateByID ¶
func (controller *TemplatesController) TestTemplateByID(c *gin.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.