segment

package
v0.0.0-...-20cf3ba Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoAV

type GoAV struct {
	Context        context.Context
	VerboseDecoder bool
	RecvUnixMsg    bool // use a secondary unix socket to receive file descriptors in priv sep mode
	RestartOnPanic bool
	FDs            chan uintptr
	DoneCB         func(error)
}

func (*GoAV) HandleSegment

func (goav *GoAV) HandleSegment(req *Request, resp *Response) (err error)

type Handler

type Handler interface {
	HandleSegment(request *Request, resp *Response) error // yes, an interface pointer as first arg, we'll try it!
}

type Request

type Request struct {
	FD uintptr
}

type Response

type Response struct {
	Label     string
	RawImages []image.Image
}

Jump to

Keyboard shortcuts

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