facerecog

package
v0.0.0-...-1ecf039 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Overview

Package facerecog is a generated protocol buffer package.

It is generated from these files:

face.proto

It has these top-level messages:

IdentifyRequest
IdentifyResponse
HealthCheckResponse
Empty

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHealthCheckServer

func RegisterHealthCheckServer(s *grpc.Server, srv HealthCheckServer)

func RegisterIdentifyServer

func RegisterIdentifyServer(s *grpc.Server, srv IdentifyServer)

Types

type Empty

type Empty struct {
}

func (*Empty) Descriptor

func (*Empty) Descriptor() ([]byte, []int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type HealthCheckClient

type HealthCheckClient interface {
	HealthCheck(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

func NewHealthCheckClient

func NewHealthCheckClient(cc *grpc.ClientConn) HealthCheckClient

type HealthCheckResponse

type HealthCheckResponse struct {
	Ready bool `protobuf:"varint,1,opt,name=ready" json:"ready,omitempty"`
}

func (*HealthCheckResponse) Descriptor

func (*HealthCheckResponse) Descriptor() ([]byte, []int)

func (*HealthCheckResponse) GetReady

func (m *HealthCheckResponse) GetReady() bool

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

type HealthCheckServer

type HealthCheckServer interface {
	HealthCheck(context.Context, *Empty) (*HealthCheckResponse, error)
}

type IdentifyClient

type IdentifyClient interface {
	Identify(ctx context.Context, in *IdentifyRequest, opts ...grpc.CallOption) (*IdentifyResponse, error)
}

func NewIdentifyClient

func NewIdentifyClient(cc *grpc.ClientConn) IdentifyClient

type IdentifyRequest

type IdentifyRequest struct {
	ImagePath string `protobuf:"bytes,1,opt,name=image_path,json=imagePath" json:"image_path,omitempty"`
}

func (*IdentifyRequest) Descriptor

func (*IdentifyRequest) Descriptor() ([]byte, []int)

func (*IdentifyRequest) GetImagePath

func (m *IdentifyRequest) GetImagePath() string

func (*IdentifyRequest) ProtoMessage

func (*IdentifyRequest) ProtoMessage()

func (*IdentifyRequest) Reset

func (m *IdentifyRequest) Reset()

func (*IdentifyRequest) String

func (m *IdentifyRequest) String() string

type IdentifyResponse

type IdentifyResponse struct {
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName" json:"image_name,omitempty"`
}

func (*IdentifyResponse) Descriptor

func (*IdentifyResponse) Descriptor() ([]byte, []int)

func (*IdentifyResponse) GetImageName

func (m *IdentifyResponse) GetImageName() string

func (*IdentifyResponse) ProtoMessage

func (*IdentifyResponse) ProtoMessage()

func (*IdentifyResponse) Reset

func (m *IdentifyResponse) Reset()

func (*IdentifyResponse) String

func (m *IdentifyResponse) String() string

type IdentifyServer

type IdentifyServer interface {
	Identify(context.Context, *IdentifyRequest) (*IdentifyResponse, error)
}

Jump to

Keyboard shortcuts

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