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) ProtoMessage ¶
func (*Empty) ProtoMessage()
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)
}
Click to show internal directories.
Click to hide internal directories.