Documentation ¶
Index ¶
- type EsServer
- func (s *EsServer) InsertFile(ctx context.Context, in *pb.InsertFileReq) (*pb.InsertFileResp, error)
- func (s *EsServer) InsertPost(ctx context.Context, in *pb.InsertPostReq) (*pb.InsertPostResp, error)
- func (s *EsServer) SearchForFileRank(ctx context.Context, in *pb.SearchForFileRankReq) (*pb.SearchForFileRankResp, error)
- func (s *EsServer) SearchForFiles(ctx context.Context, in *pb.SearchForFilesReq) (*pb.SearchForFilesResp, error)
- func (s *EsServer) SearchForFilesByUserId(ctx context.Context, in *pb.SearchForFilesByUserIdReq) (*pb.SearchForFilesByUserIdResp, error)
- func (s *EsServer) SearchForPosts(ctx context.Context, in *pb.SearchForPostsReq) (*pb.SearchForPostsResp, error)
- func (s *EsServer) SearchForPostsByUserId(ctx context.Context, in *pb.SearchForPostsByUserIdReq) (*pb.SearchForPostsByUserIdResp, error)
- func (s *EsServer) SearchForPostsRank(ctx context.Context, in *pb.SearchForPostsRankReq) (*pb.SearchForPostsRankResp, error)
- func (s *EsServer) UpdateFiles(ctx context.Context, in *pb.UpdateFilesReq) (*pb.UpdateFilesResp, error)
- func (s *EsServer) UpdatePosts(ctx context.Context, in *pb.UpdatePostsReq) (*pb.UpdatePostsResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsServer ¶
type EsServer struct { pb.UnimplementedEsServer // contains filtered or unexported fields }
func NewEsServer ¶
func NewEsServer(svcCtx *svc.ServiceContext) *EsServer
func (*EsServer) InsertFile ¶
func (s *EsServer) InsertFile(ctx context.Context, in *pb.InsertFileReq) (*pb.InsertFileResp, error)
func (*EsServer) InsertPost ¶
func (s *EsServer) InsertPost(ctx context.Context, in *pb.InsertPostReq) (*pb.InsertPostResp, error)
func (*EsServer) SearchForFileRank ¶
func (s *EsServer) SearchForFileRank(ctx context.Context, in *pb.SearchForFileRankReq) (*pb.SearchForFileRankResp, error)
func (*EsServer) SearchForFiles ¶
func (s *EsServer) SearchForFiles(ctx context.Context, in *pb.SearchForFilesReq) (*pb.SearchForFilesResp, error)
func (*EsServer) SearchForFilesByUserId ¶
func (s *EsServer) SearchForFilesByUserId(ctx context.Context, in *pb.SearchForFilesByUserIdReq) (*pb.SearchForFilesByUserIdResp, error)
func (*EsServer) SearchForPosts ¶
func (s *EsServer) SearchForPosts(ctx context.Context, in *pb.SearchForPostsReq) (*pb.SearchForPostsResp, error)
func (*EsServer) SearchForPostsByUserId ¶
func (s *EsServer) SearchForPostsByUserId(ctx context.Context, in *pb.SearchForPostsByUserIdReq) (*pb.SearchForPostsByUserIdResp, error)
func (*EsServer) SearchForPostsRank ¶
func (s *EsServer) SearchForPostsRank(ctx context.Context, in *pb.SearchForPostsRankReq) (*pb.SearchForPostsRankResp, error)
func (*EsServer) UpdateFiles ¶
func (s *EsServer) UpdateFiles(ctx context.Context, in *pb.UpdateFilesReq) (*pb.UpdateFilesResp, error)
func (*EsServer) UpdatePosts ¶
func (s *EsServer) UpdatePosts(ctx context.Context, in *pb.UpdatePostsReq) (*pb.UpdatePostsResp, error)
Click to show internal directories.
Click to hide internal directories.