Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewLibrarianMinerServiceService)
ProviderSet is service providers.
Functions ¶
func NewLibrarianMinerServiceService ¶
func NewLibrarianMinerServiceService(m *biz.Miner) pb.LibrarianMinerServiceServer
func ToPBOCRResults ¶
func ToPBOCRResults(rs []*biz.OCRResults) []*pb.RecognizeImageResult
Types ¶
type LibrarianMinerServiceService ¶
type LibrarianMinerServiceService struct { pb.UnimplementedLibrarianMinerServiceServer // contains filtered or unexported fields }
func (*LibrarianMinerServiceService) RecognizeImageBinary ¶
func (s *LibrarianMinerServiceService) RecognizeImageBinary( req pb.LibrarianMinerService_RecognizeImageBinaryServer) error
func (*LibrarianMinerServiceService) RecognizeImageURL ¶
func (s *LibrarianMinerServiceService) RecognizeImageURL( ctx context.Context, req *pb.RecognizeImageURLRequest) (*pb.RecognizeImageURLResponse, error)
Click to show internal directories.
Click to hide internal directories.