server

package
v0.0.0-...-d345bf7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL