Documentation
¶
Index ¶
- func RegisterService(conf config.Config, log *logrus.Logger, s *grpc.Server) error
- type Server
- func (s Server) Byclicks(context.Context, *altethical.ByclicksRequest) (*altethical.SearchResponse, error)
- func (s Server) Byimages(context.Context, *altethical.ByimagesRequest) (*altethical.SearchResponse, error)
- func (s Server) Example(ctx context.Context, req *altethical.ExampleRequest) (*altethical.ExampleResponse, error)
- func (s Server) SearchImage(ctx context.Context, req *altethical.SearchRequest) (*altethical.SearchResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { altethical.UnimplementedAltethicalServer // contains filtered or unexported fields }
Server is the struct that implements the authenticate service interface
func (Server) Byclicks ¶
func (s Server) Byclicks(context.Context, *altethical.ByclicksRequest) (*altethical.SearchResponse, error)
func (Server) Byimages ¶
func (s Server) Byimages(context.Context, *altethical.ByimagesRequest) (*altethical.SearchResponse, error)
func (Server) Example ¶
func (s Server) Example(ctx context.Context, req *altethical.ExampleRequest) (*altethical.ExampleResponse, error)
func (Server) SearchImage ¶
func (s Server) SearchImage(ctx context.Context, req *altethical.SearchRequest) (*altethical.SearchResponse, error)
Click to show internal directories.
Click to hide internal directories.