Documentation ¶
Index ¶
- type RequestContext
- func (c *RequestContext) BaseID() int64
- func (c *RequestContext) Cancel()
- func (c *RequestContext) Created() time.Time
- func (c *RequestContext) Device() int64
- func (c *RequestContext) Finished() time.Time
- func (c *RequestContext) Region() string
- func (c *RequestContext) SetCreated(created time.Time)
- func (c *RequestContext) SetFinished(finished time.Time)
- func (c *RequestContext) SetSnapshotPath(snapshotPath *string)
- func (c *RequestContext) SnapshotPath() *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestContext ¶
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
Click to show internal directories.
Click to hide internal directories.