client

package
v0.0.0-...-3fbc642 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

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

func NewHTTP

func NewHTTP(prefix string) HTTP

func NewUnix

func NewUnix(path string) (HTTP, error)

func (HTTP) Info

func (c HTTP) Info(ctx context.Context, w io.Writer) error

func (HTTP) OCR

func (c HTTP) OCR(ctx context.Context, w io.Writer, r io.Reader, params OCRParams) error

func (HTTP) WithHTTPClient

func (c HTTP) WithHTTPClient(client *http.Client) HTTP

type OCRParams

type OCRParams struct {
	Languages []string
}

Jump to

Keyboard shortcuts

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