mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
21 lines
476 B
Go
21 lines
476 B
Go
package handler
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/micro/micro/v3/service/logger"
|
|
pb "github.com/micro/services/blog/search/proto"
|
|
)
|
|
|
|
type Search struct{}
|
|
|
|
func (s *Search) Index(ctx context.Context, req *pb.IndexRequest, rsp *pb.IndexResponse) error {
|
|
logger.Info("Received Search.Index request")
|
|
return nil
|
|
}
|
|
|
|
func (s *Search) Search(ctx context.Context, req *pb.SearchRequest, rsp *pb.SearchResponse) error {
|
|
logger.Info("Received Search.Search request")
|
|
return nil
|
|
}
|