kernel

package
v0.0.0-...-6882831 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestContext

type RequestContext struct {
	context.Context
	// contains filtered or unexported fields
}

func NewRequestContext

func NewRequestContext(ctx context.Context, request *face_rkg.RecognizeRequest) *RequestContext

func (*RequestContext) BaseID

func (c *RequestContext) BaseID() int64

func (*RequestContext) Cancel

func (c *RequestContext) Cancel()

func (*RequestContext) Created

func (c *RequestContext) Created() time.Time

func (*RequestContext) Device

func (c *RequestContext) Device() int64

func (*RequestContext) Finished

func (c *RequestContext) Finished() time.Time

func (*RequestContext) Region

func (c *RequestContext) Region() string

func (*RequestContext) SetCreated

func (c *RequestContext) SetCreated(created time.Time)

func (*RequestContext) SetFinished

func (c *RequestContext) SetFinished(finished time.Time)

func (*RequestContext) SetSnapshotPath

func (c *RequestContext) SetSnapshotPath(snapshotPath *string)

func (*RequestContext) SnapshotPath

func (c *RequestContext) SnapshotPath() *string

Jump to

Keyboard shortcuts

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