httpscaningest

package
v0.0.0-...-786d6a2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package httpscaningest implements an HTTP API around the scaningest API.

Example Usage

You can use this API with curl on the command line like so:

jobid=$(curl -s -X CREATE http://localhost:7120/ingestjob | jq -r .job)
curl --request POST --data-binary "@internal/neonjpeg/testdata/page2.jpg" http://localhost:7120/job/$jobid/addpage
curl --request POST http://localhost:7120/job/$jobid/ingest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeMux

func ServeMux(ingester *scaningest.Ingester) *http.ServeMux

Types

This section is empty.

Jump to

Keyboard shortcuts

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