pb

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Es_SearchForFiles_FullMethodName         = "/pb.es/SearchForFiles"
	Es_SearchForPosts_FullMethodName         = "/pb.es/SearchForPosts"
	Es_SearchForFileRank_FullMethodName      = "/pb.es/SearchForFileRank"
	Es_SearchForPostsRank_FullMethodName     = "/pb.es/SearchForPostsRank"
	Es_SearchForFilesByUserId_FullMethodName = "/pb.es/SearchForFilesByUserId"
	Es_SearchForPostsByUserId_FullMethodName = "/pb.es/SearchForPostsByUserId"
	Es_UpdateFiles_FullMethodName            = "/pb.es/UpdateFiles"
	Es_UpdatePosts_FullMethodName            = "/pb.es/UpdatePosts"
	Es_InsertFile_FullMethodName             = "/pb.es/InsertFile"
	Es_InsertPost_FullMethodName             = "/pb.es/InsertPost"
)

Variables

View Source
var Es_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.es",
	HandlerType: (*EsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SearchForFiles",
			Handler:    _Es_SearchForFiles_Handler,
		},
		{
			MethodName: "SearchForPosts",
			Handler:    _Es_SearchForPosts_Handler,
		},
		{
			MethodName: "SearchForFileRank",
			Handler:    _Es_SearchForFileRank_Handler,
		},
		{
			MethodName: "SearchForPostsRank",
			Handler:    _Es_SearchForPostsRank_Handler,
		},
		{
			MethodName: "SearchForFilesByUserId",
			Handler:    _Es_SearchForFilesByUserId_Handler,
		},
		{
			MethodName: "SearchForPostsByUserId",
			Handler:    _Es_SearchForPostsByUserId_Handler,
		},
		{
			MethodName: "UpdateFiles",
			Handler:    _Es_UpdateFiles_Handler,
		},
		{
			MethodName: "UpdatePosts",
			Handler:    _Es_UpdatePosts_Handler,
		},
		{
			MethodName: "InsertFile",
			Handler:    _Es_InsertFile_Handler,
		},
		{
			MethodName: "InsertPost",
			Handler:    _Es_InsertPost_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "es.proto",
}

Es_ServiceDesc is the grpc.ServiceDesc for Es service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterEsServer

func RegisterEsServer(s grpc.ServiceRegistrar, srv EsServer)

Types

type EsClient

type EsClient interface {
	SearchForFiles(ctx context.Context, in *SearchForFilesReq, opts ...grpc.CallOption) (*SearchForFilesResp, error)
	SearchForPosts(ctx context.Context, in *SearchForPostsReq, opts ...grpc.CallOption) (*SearchForPostsResp, error)
	SearchForFileRank(ctx context.Context, in *SearchForFileRankReq, opts ...grpc.CallOption) (*SearchForFileRankResp, error)
	SearchForPostsRank(ctx context.Context, in *SearchForPostsRankReq, opts ...grpc.CallOption) (*SearchForPostsRankResp, error)
	SearchForFilesByUserId(ctx context.Context, in *SearchForFilesByUserIdReq, opts ...grpc.CallOption) (*SearchForFilesByUserIdResp, error)
	SearchForPostsByUserId(ctx context.Context, in *SearchForPostsByUserIdReq, opts ...grpc.CallOption) (*SearchForPostsByUserIdResp, error)
	UpdateFiles(ctx context.Context, in *UpdateFilesReq, opts ...grpc.CallOption) (*UpdateFilesResp, error)
	UpdatePosts(ctx context.Context, in *UpdatePostsReq, opts ...grpc.CallOption) (*UpdatePostsResp, error)
	InsertFile(ctx context.Context, in *InsertFileReq, opts ...grpc.CallOption) (*InsertFileResp, error)
	InsertPost(ctx context.Context, in *InsertPostReq, opts ...grpc.CallOption) (*InsertPostResp, error)
}

EsClient is the client API for Es service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEsClient

func NewEsClient(cc grpc.ClientConnInterface) EsClient

type EsServer

EsServer is the server API for Es service. All implementations must embed UnimplementedEsServer for forward compatibility

type File

type File struct {
	Title string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title"`
	Id    string `protobuf:"bytes,2,opt,name=Id,proto3" json:"Id"`
	// contains filtered or unexported fields
}

文件信息 文件名, 文件id

func (*File) Descriptor deprecated

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetId

func (x *File) GetId() string

func (*File) GetTitle

func (x *File) GetTitle() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type InsertFileReq

type InsertFileReq struct {
	File      *File  `protobuf:"bytes,1,opt,name=File,proto3" json:"File"`
	UserId    int64  `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId"`
	TypeMount string `protobuf:"bytes,3,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

func (*InsertFileReq) Descriptor deprecated

func (*InsertFileReq) Descriptor() ([]byte, []int)

Deprecated: Use InsertFileReq.ProtoReflect.Descriptor instead.

func (*InsertFileReq) GetFile

func (x *InsertFileReq) GetFile() *File

func (*InsertFileReq) GetTypeMount

func (x *InsertFileReq) GetTypeMount() string

func (*InsertFileReq) GetUserId

func (x *InsertFileReq) GetUserId() int64

func (*InsertFileReq) ProtoMessage

func (*InsertFileReq) ProtoMessage()

func (*InsertFileReq) ProtoReflect

func (x *InsertFileReq) ProtoReflect() protoreflect.Message

func (*InsertFileReq) Reset

func (x *InsertFileReq) Reset()

func (*InsertFileReq) String

func (x *InsertFileReq) String() string

type InsertFileResp

type InsertFileResp struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*InsertFileResp) Descriptor deprecated

func (*InsertFileResp) Descriptor() ([]byte, []int)

Deprecated: Use InsertFileResp.ProtoReflect.Descriptor instead.

func (*InsertFileResp) GetError

func (x *InsertFileResp) GetError() string

func (*InsertFileResp) ProtoMessage

func (*InsertFileResp) ProtoMessage()

func (*InsertFileResp) ProtoReflect

func (x *InsertFileResp) ProtoReflect() protoreflect.Message

func (*InsertFileResp) Reset

func (x *InsertFileResp) Reset()

func (*InsertFileResp) String

func (x *InsertFileResp) String() string

type InsertPostReq

type InsertPostReq struct {
	Post      *Post  `protobuf:"bytes,1,opt,name=Post,proto3" json:"Post"`
	UserId    int64  `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId"`
	TypeMount string `protobuf:"bytes,3,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

func (*InsertPostReq) Descriptor deprecated

func (*InsertPostReq) Descriptor() ([]byte, []int)

Deprecated: Use InsertPostReq.ProtoReflect.Descriptor instead.

func (*InsertPostReq) GetPost

func (x *InsertPostReq) GetPost() *Post

func (*InsertPostReq) GetTypeMount

func (x *InsertPostReq) GetTypeMount() string

func (*InsertPostReq) GetUserId

func (x *InsertPostReq) GetUserId() int64

func (*InsertPostReq) ProtoMessage

func (*InsertPostReq) ProtoMessage()

func (*InsertPostReq) ProtoReflect

func (x *InsertPostReq) ProtoReflect() protoreflect.Message

func (*InsertPostReq) Reset

func (x *InsertPostReq) Reset()

func (*InsertPostReq) String

func (x *InsertPostReq) String() string

type InsertPostResp

type InsertPostResp struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*InsertPostResp) Descriptor deprecated

func (*InsertPostResp) Descriptor() ([]byte, []int)

Deprecated: Use InsertPostResp.ProtoReflect.Descriptor instead.

func (*InsertPostResp) GetError

func (x *InsertPostResp) GetError() string

func (*InsertPostResp) ProtoMessage

func (*InsertPostResp) ProtoMessage()

func (*InsertPostResp) ProtoReflect

func (x *InsertPostResp) ProtoReflect() protoreflect.Message

func (*InsertPostResp) Reset

func (x *InsertPostResp) Reset()

func (*InsertPostResp) String

func (x *InsertPostResp) String() string

type Post

type Post struct {
	Title   string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title"`
	Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content"`
	Id      string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id"`
	// contains filtered or unexported fields
}

帖子信息 帖子标题, 帖子内容, 帖子id

func (*Post) Descriptor deprecated

func (*Post) Descriptor() ([]byte, []int)

Deprecated: Use Post.ProtoReflect.Descriptor instead.

func (*Post) GetContent

func (x *Post) GetContent() string

func (*Post) GetId

func (x *Post) GetId() string

func (*Post) GetTitle

func (x *Post) GetTitle() string

func (*Post) ProtoMessage

func (*Post) ProtoMessage()

func (*Post) ProtoReflect

func (x *Post) ProtoReflect() protoreflect.Message

func (*Post) Reset

func (x *Post) Reset()

func (*Post) String

func (x *Post) String() string

type SearchForFileRankReq

type SearchForFileRankReq struct {
	Rank      int64  `protobuf:"varint,1,opt,name=Rank,proto3" json:"Rank"`
	TypeMount string `protobuf:"bytes,2,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

下载/点赞/收藏量 文件排行

func (*SearchForFileRankReq) Descriptor deprecated

func (*SearchForFileRankReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFileRankReq.ProtoReflect.Descriptor instead.

func (*SearchForFileRankReq) GetRank

func (x *SearchForFileRankReq) GetRank() int64

func (*SearchForFileRankReq) GetTypeMount

func (x *SearchForFileRankReq) GetTypeMount() string

func (*SearchForFileRankReq) ProtoMessage

func (*SearchForFileRankReq) ProtoMessage()

func (*SearchForFileRankReq) ProtoReflect

func (x *SearchForFileRankReq) ProtoReflect() protoreflect.Message

func (*SearchForFileRankReq) Reset

func (x *SearchForFileRankReq) Reset()

func (*SearchForFileRankReq) String

func (x *SearchForFileRankReq) String() string

type SearchForFileRankResp

type SearchForFileRankResp struct {
	Files []*File `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForFileRankResp) Descriptor deprecated

func (*SearchForFileRankResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFileRankResp.ProtoReflect.Descriptor instead.

func (*SearchForFileRankResp) GetError

func (x *SearchForFileRankResp) GetError() string

func (*SearchForFileRankResp) GetFiles

func (x *SearchForFileRankResp) GetFiles() []*File

func (*SearchForFileRankResp) ProtoMessage

func (*SearchForFileRankResp) ProtoMessage()

func (*SearchForFileRankResp) ProtoReflect

func (x *SearchForFileRankResp) ProtoReflect() protoreflect.Message

func (*SearchForFileRankResp) Reset

func (x *SearchForFileRankResp) Reset()

func (*SearchForFileRankResp) String

func (x *SearchForFileRankResp) String() string

type SearchForFilesByUserIdReq

type SearchForFilesByUserIdReq struct {
	UserId    int64  `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"`
	TypeMount string `protobuf:"bytes,2,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

用户id 查询下载/点赞/收藏过的文件

func (*SearchForFilesByUserIdReq) Descriptor deprecated

func (*SearchForFilesByUserIdReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFilesByUserIdReq.ProtoReflect.Descriptor instead.

func (*SearchForFilesByUserIdReq) GetTypeMount

func (x *SearchForFilesByUserIdReq) GetTypeMount() string

func (*SearchForFilesByUserIdReq) GetUserId

func (x *SearchForFilesByUserIdReq) GetUserId() int64

func (*SearchForFilesByUserIdReq) ProtoMessage

func (*SearchForFilesByUserIdReq) ProtoMessage()

func (*SearchForFilesByUserIdReq) ProtoReflect

func (*SearchForFilesByUserIdReq) Reset

func (x *SearchForFilesByUserIdReq) Reset()

func (*SearchForFilesByUserIdReq) String

func (x *SearchForFilesByUserIdReq) String() string

type SearchForFilesByUserIdResp

type SearchForFilesByUserIdResp struct {
	Files []*File `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForFilesByUserIdResp) Descriptor deprecated

func (*SearchForFilesByUserIdResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFilesByUserIdResp.ProtoReflect.Descriptor instead.

func (*SearchForFilesByUserIdResp) GetError

func (x *SearchForFilesByUserIdResp) GetError() string

func (*SearchForFilesByUserIdResp) GetFiles

func (x *SearchForFilesByUserIdResp) GetFiles() []*File

func (*SearchForFilesByUserIdResp) ProtoMessage

func (*SearchForFilesByUserIdResp) ProtoMessage()

func (*SearchForFilesByUserIdResp) ProtoReflect

func (*SearchForFilesByUserIdResp) Reset

func (x *SearchForFilesByUserIdResp) Reset()

func (*SearchForFilesByUserIdResp) String

func (x *SearchForFilesByUserIdResp) String() string

type SearchForFilesReq

type SearchForFilesReq struct {
	Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content"`
	// contains filtered or unexported fields
}

查找文件 Content: 具体内容

func (*SearchForFilesReq) Descriptor deprecated

func (*SearchForFilesReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFilesReq.ProtoReflect.Descriptor instead.

func (*SearchForFilesReq) GetContent

func (x *SearchForFilesReq) GetContent() string

func (*SearchForFilesReq) ProtoMessage

func (*SearchForFilesReq) ProtoMessage()

func (*SearchForFilesReq) ProtoReflect

func (x *SearchForFilesReq) ProtoReflect() protoreflect.Message

func (*SearchForFilesReq) Reset

func (x *SearchForFilesReq) Reset()

func (*SearchForFilesReq) String

func (x *SearchForFilesReq) String() string

type SearchForFilesResp

type SearchForFilesResp struct {
	Files []*File `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForFilesResp) Descriptor deprecated

func (*SearchForFilesResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForFilesResp.ProtoReflect.Descriptor instead.

func (*SearchForFilesResp) GetError

func (x *SearchForFilesResp) GetError() string

func (*SearchForFilesResp) GetFiles

func (x *SearchForFilesResp) GetFiles() []*File

func (*SearchForFilesResp) ProtoMessage

func (*SearchForFilesResp) ProtoMessage()

func (*SearchForFilesResp) ProtoReflect

func (x *SearchForFilesResp) ProtoReflect() protoreflect.Message

func (*SearchForFilesResp) Reset

func (x *SearchForFilesResp) Reset()

func (*SearchForFilesResp) String

func (x *SearchForFilesResp) String() string

type SearchForPostsByUserIdReq

type SearchForPostsByUserIdReq struct {
	UserId    int64  `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"`
	TypeMount string `protobuf:"bytes,2,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

用户id 查询点赞/收藏过的帖子

func (*SearchForPostsByUserIdReq) Descriptor deprecated

func (*SearchForPostsByUserIdReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsByUserIdReq.ProtoReflect.Descriptor instead.

func (*SearchForPostsByUserIdReq) GetTypeMount

func (x *SearchForPostsByUserIdReq) GetTypeMount() string

func (*SearchForPostsByUserIdReq) GetUserId

func (x *SearchForPostsByUserIdReq) GetUserId() int64

func (*SearchForPostsByUserIdReq) ProtoMessage

func (*SearchForPostsByUserIdReq) ProtoMessage()

func (*SearchForPostsByUserIdReq) ProtoReflect

func (*SearchForPostsByUserIdReq) Reset

func (x *SearchForPostsByUserIdReq) Reset()

func (*SearchForPostsByUserIdReq) String

func (x *SearchForPostsByUserIdReq) String() string

type SearchForPostsByUserIdResp

type SearchForPostsByUserIdResp struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=Posts,proto3" json:"Posts"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForPostsByUserIdResp) Descriptor deprecated

func (*SearchForPostsByUserIdResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsByUserIdResp.ProtoReflect.Descriptor instead.

func (*SearchForPostsByUserIdResp) GetError

func (x *SearchForPostsByUserIdResp) GetError() string

func (*SearchForPostsByUserIdResp) GetPosts

func (x *SearchForPostsByUserIdResp) GetPosts() []*Post

func (*SearchForPostsByUserIdResp) ProtoMessage

func (*SearchForPostsByUserIdResp) ProtoMessage()

func (*SearchForPostsByUserIdResp) ProtoReflect

func (*SearchForPostsByUserIdResp) Reset

func (x *SearchForPostsByUserIdResp) Reset()

func (*SearchForPostsByUserIdResp) String

func (x *SearchForPostsByUserIdResp) String() string

type SearchForPostsRankReq

type SearchForPostsRankReq struct {
	Rank      int64  `protobuf:"varint,1,opt,name=Rank,proto3" json:"Rank"`
	TypeMount string `protobuf:"bytes,2,opt,name=TypeMount,proto3" json:"TypeMount"`
	// contains filtered or unexported fields
}

总/月/周/日榜 浏览/点赞/收藏量 帖子排行

func (*SearchForPostsRankReq) Descriptor deprecated

func (*SearchForPostsRankReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsRankReq.ProtoReflect.Descriptor instead.

func (*SearchForPostsRankReq) GetRank

func (x *SearchForPostsRankReq) GetRank() int64

func (*SearchForPostsRankReq) GetTypeMount

func (x *SearchForPostsRankReq) GetTypeMount() string

func (*SearchForPostsRankReq) ProtoMessage

func (*SearchForPostsRankReq) ProtoMessage()

func (*SearchForPostsRankReq) ProtoReflect

func (x *SearchForPostsRankReq) ProtoReflect() protoreflect.Message

func (*SearchForPostsRankReq) Reset

func (x *SearchForPostsRankReq) Reset()

func (*SearchForPostsRankReq) String

func (x *SearchForPostsRankReq) String() string

type SearchForPostsRankResp

type SearchForPostsRankResp struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=Posts,proto3" json:"Posts"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForPostsRankResp) Descriptor deprecated

func (*SearchForPostsRankResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsRankResp.ProtoReflect.Descriptor instead.

func (*SearchForPostsRankResp) GetError

func (x *SearchForPostsRankResp) GetError() string

func (*SearchForPostsRankResp) GetPosts

func (x *SearchForPostsRankResp) GetPosts() []*Post

func (*SearchForPostsRankResp) ProtoMessage

func (*SearchForPostsRankResp) ProtoMessage()

func (*SearchForPostsRankResp) ProtoReflect

func (x *SearchForPostsRankResp) ProtoReflect() protoreflect.Message

func (*SearchForPostsRankResp) Reset

func (x *SearchForPostsRankResp) Reset()

func (*SearchForPostsRankResp) String

func (x *SearchForPostsRankResp) String() string

type SearchForPostsReq

type SearchForPostsReq struct {
	Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content"`
	// contains filtered or unexported fields
}

查找帖子 Content: 具体内容

func (*SearchForPostsReq) Descriptor deprecated

func (*SearchForPostsReq) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsReq.ProtoReflect.Descriptor instead.

func (*SearchForPostsReq) GetContent

func (x *SearchForPostsReq) GetContent() string

func (*SearchForPostsReq) ProtoMessage

func (*SearchForPostsReq) ProtoMessage()

func (*SearchForPostsReq) ProtoReflect

func (x *SearchForPostsReq) ProtoReflect() protoreflect.Message

func (*SearchForPostsReq) Reset

func (x *SearchForPostsReq) Reset()

func (*SearchForPostsReq) String

func (x *SearchForPostsReq) String() string

type SearchForPostsResp

type SearchForPostsResp struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=Posts,proto3" json:"Posts"`
	Error string  `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*SearchForPostsResp) Descriptor deprecated

func (*SearchForPostsResp) Descriptor() ([]byte, []int)

Deprecated: Use SearchForPostsResp.ProtoReflect.Descriptor instead.

func (*SearchForPostsResp) GetError

func (x *SearchForPostsResp) GetError() string

func (*SearchForPostsResp) GetPosts

func (x *SearchForPostsResp) GetPosts() []*Post

func (*SearchForPostsResp) ProtoMessage

func (*SearchForPostsResp) ProtoMessage()

func (*SearchForPostsResp) ProtoReflect

func (x *SearchForPostsResp) ProtoReflect() protoreflect.Message

func (*SearchForPostsResp) Reset

func (x *SearchForPostsResp) Reset()

func (*SearchForPostsResp) String

func (x *SearchForPostsResp) String() string

type UnimplementedEsServer

type UnimplementedEsServer struct {
}

UnimplementedEsServer must be embedded to have forward compatible implementations.

func (UnimplementedEsServer) InsertFile

func (UnimplementedEsServer) InsertPost

func (UnimplementedEsServer) SearchForFileRank

func (UnimplementedEsServer) SearchForFiles

func (UnimplementedEsServer) SearchForPosts

func (UnimplementedEsServer) SearchForPostsRank

func (UnimplementedEsServer) UpdateFiles

func (UnimplementedEsServer) UpdatePosts

type UnsafeEsServer

type UnsafeEsServer interface {
	// contains filtered or unexported methods
}

UnsafeEsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EsServer will result in compilation errors.

type UpdateFilesReq

type UpdateFilesReq struct {
	File *File `protobuf:"bytes,1,opt,name=File,proto3" json:"File"`
	// contains filtered or unexported fields
}

修改文件标题

func (*UpdateFilesReq) Descriptor deprecated

func (*UpdateFilesReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFilesReq.ProtoReflect.Descriptor instead.

func (*UpdateFilesReq) GetFile

func (x *UpdateFilesReq) GetFile() *File

func (*UpdateFilesReq) ProtoMessage

func (*UpdateFilesReq) ProtoMessage()

func (*UpdateFilesReq) ProtoReflect

func (x *UpdateFilesReq) ProtoReflect() protoreflect.Message

func (*UpdateFilesReq) Reset

func (x *UpdateFilesReq) Reset()

func (*UpdateFilesReq) String

func (x *UpdateFilesReq) String() string

type UpdateFilesResp

type UpdateFilesResp struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*UpdateFilesResp) Descriptor deprecated

func (*UpdateFilesResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFilesResp.ProtoReflect.Descriptor instead.

func (*UpdateFilesResp) GetError

func (x *UpdateFilesResp) GetError() string

func (*UpdateFilesResp) ProtoMessage

func (*UpdateFilesResp) ProtoMessage()

func (*UpdateFilesResp) ProtoReflect

func (x *UpdateFilesResp) ProtoReflect() protoreflect.Message

func (*UpdateFilesResp) Reset

func (x *UpdateFilesResp) Reset()

func (*UpdateFilesResp) String

func (x *UpdateFilesResp) String() string

type UpdatePostsReq

type UpdatePostsReq struct {
	Post *Post `protobuf:"bytes,1,opt,name=Post,proto3" json:"Post"`
	// contains filtered or unexported fields
}

修改帖子标题/内容

func (*UpdatePostsReq) Descriptor deprecated

func (*UpdatePostsReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePostsReq.ProtoReflect.Descriptor instead.

func (*UpdatePostsReq) GetPost

func (x *UpdatePostsReq) GetPost() *Post

func (*UpdatePostsReq) ProtoMessage

func (*UpdatePostsReq) ProtoMessage()

func (*UpdatePostsReq) ProtoReflect

func (x *UpdatePostsReq) ProtoReflect() protoreflect.Message

func (*UpdatePostsReq) Reset

func (x *UpdatePostsReq) Reset()

func (*UpdatePostsReq) String

func (x *UpdatePostsReq) String() string

type UpdatePostsResp

type UpdatePostsResp struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error"`
	// contains filtered or unexported fields
}

func (*UpdatePostsResp) Descriptor deprecated

func (*UpdatePostsResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePostsResp.ProtoReflect.Descriptor instead.

func (*UpdatePostsResp) GetError

func (x *UpdatePostsResp) GetError() string

func (*UpdatePostsResp) ProtoMessage

func (*UpdatePostsResp) ProtoMessage()

func (*UpdatePostsResp) ProtoReflect

func (x *UpdatePostsResp) ProtoReflect() protoreflect.Message

func (*UpdatePostsResp) Reset

func (x *UpdatePostsResp) Reset()

func (*UpdatePostsResp) String

func (x *UpdatePostsResp) String() string

Jump to

Keyboard shortcuts

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