Versions in this module Expand all Collapse all v1 v1.0.11 Jun 28, 2026 v1.0.10 Jun 26, 2026 v1.0.9 Jun 25, 2026 v1.0.8 Jun 24, 2026 v1.0.7 Jun 23, 2026 Changes in this version + const OperationPublicDocumentQueryDocumentDetail + const OperationPublicDocumentQueryDocumentList + const PublicDocument_QueryDocumentDetail_FullMethodName + const PublicDocument_QueryDocumentList_FullMethodName + var File_public_document_v1_document_proto protoreflect.FileDescriptor + var PublicDocument_ServiceDesc = grpc.ServiceDesc + func RegisterPublicDocumentHTTPServer(s *http.Server, srv PublicDocumentHTTPServer) + func RegisterPublicDocumentServer(s grpc.ServiceRegistrar, srv PublicDocumentServer) + type Document struct + Content string + CreatedAt int64 + Id int64 + Show bool + Tags []string + Title string + UpdatedAt int64 + func (*Document) Descriptor() ([]byte, []int) + func (*Document) ProtoMessage() + func (m *Document) Validate() error + func (m *Document) ValidateAll() error + func (x *Document) GetContent() string + func (x *Document) GetCreatedAt() int64 + func (x *Document) GetId() int64 + func (x *Document) GetShow() bool + func (x *Document) GetTags() []string + func (x *Document) GetTitle() string + func (x *Document) GetUpdatedAt() int64 + func (x *Document) ProtoReflect() protoreflect.Message + func (x *Document) Reset() + func (x *Document) String() string + type DocumentDetailReply struct + Content string + CreatedAt int64 + Id int64 + Show bool + Tags []string + Title string + UpdatedAt int64 + func (*DocumentDetailReply) Descriptor() ([]byte, []int) + func (*DocumentDetailReply) ProtoMessage() + func (m *DocumentDetailReply) Validate() error + func (m *DocumentDetailReply) ValidateAll() error + func (x *DocumentDetailReply) GetContent() string + func (x *DocumentDetailReply) GetCreatedAt() int64 + func (x *DocumentDetailReply) GetId() int64 + func (x *DocumentDetailReply) GetShow() bool + func (x *DocumentDetailReply) GetTags() []string + func (x *DocumentDetailReply) GetTitle() string + func (x *DocumentDetailReply) GetUpdatedAt() int64 + func (x *DocumentDetailReply) ProtoReflect() protoreflect.Message + func (x *DocumentDetailReply) Reset() + func (x *DocumentDetailReply) String() string + type DocumentDetailReplyMultiError []error + func (m DocumentDetailReplyMultiError) AllErrors() []error + func (m DocumentDetailReplyMultiError) Error() string + type DocumentDetailReplyValidationError struct + func (e DocumentDetailReplyValidationError) Cause() error + func (e DocumentDetailReplyValidationError) Error() string + func (e DocumentDetailReplyValidationError) ErrorName() string + func (e DocumentDetailReplyValidationError) Field() string + func (e DocumentDetailReplyValidationError) Key() bool + func (e DocumentDetailReplyValidationError) Reason() string + type DocumentListReply struct + List []*Document + Total int32 + func (*DocumentListReply) Descriptor() ([]byte, []int) + func (*DocumentListReply) ProtoMessage() + func (m *DocumentListReply) Validate() error + func (m *DocumentListReply) ValidateAll() error + func (x *DocumentListReply) GetList() []*Document + func (x *DocumentListReply) GetTotal() int32 + func (x *DocumentListReply) ProtoReflect() protoreflect.Message + func (x *DocumentListReply) Reset() + func (x *DocumentListReply) String() string + type DocumentListReplyMultiError []error + func (m DocumentListReplyMultiError) AllErrors() []error + func (m DocumentListReplyMultiError) Error() string + type DocumentListReplyValidationError struct + func (e DocumentListReplyValidationError) Cause() error + func (e DocumentListReplyValidationError) Error() string + func (e DocumentListReplyValidationError) ErrorName() string + func (e DocumentListReplyValidationError) Field() string + func (e DocumentListReplyValidationError) Key() bool + func (e DocumentListReplyValidationError) Reason() string + type DocumentMultiError []error + func (m DocumentMultiError) AllErrors() []error + func (m DocumentMultiError) Error() string + type DocumentValidationError struct + func (e DocumentValidationError) Cause() error + func (e DocumentValidationError) Error() string + func (e DocumentValidationError) ErrorName() string + func (e DocumentValidationError) Field() string + func (e DocumentValidationError) Key() bool + func (e DocumentValidationError) Reason() string + type PublicDocumentClient interface + QueryDocumentDetail func(ctx context.Context, in *QueryDocumentDetailRequest, opts ...grpc.CallOption) (*DocumentDetailReply, error) + QueryDocumentList func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DocumentListReply, error) + func NewPublicDocumentClient(cc grpc.ClientConnInterface) PublicDocumentClient + type PublicDocumentHTTPClient interface + QueryDocumentDetail func(ctx context.Context, req *QueryDocumentDetailRequest, opts ...http.CallOption) (rsp *DocumentDetailReply, err error) + QueryDocumentList func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *DocumentListReply, err error) + func NewPublicDocumentHTTPClient(client *http.Client) PublicDocumentHTTPClient + type PublicDocumentHTTPClientImpl struct + func (c *PublicDocumentHTTPClientImpl) QueryDocumentDetail(ctx context.Context, in *QueryDocumentDetailRequest, opts ...http.CallOption) (*DocumentDetailReply, error) + func (c *PublicDocumentHTTPClientImpl) QueryDocumentList(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*DocumentListReply, error) + type PublicDocumentHTTPServer interface + QueryDocumentDetail func(context.Context, *QueryDocumentDetailRequest) (*DocumentDetailReply, error) + QueryDocumentList func(context.Context, *emptypb.Empty) (*DocumentListReply, error) + type PublicDocumentServer interface + QueryDocumentDetail func(context.Context, *QueryDocumentDetailRequest) (*DocumentDetailReply, error) + QueryDocumentList func(context.Context, *emptypb.Empty) (*DocumentListReply, error) + type QueryDocumentDetailRequest struct + Id int64 + func (*QueryDocumentDetailRequest) Descriptor() ([]byte, []int) + func (*QueryDocumentDetailRequest) ProtoMessage() + func (m *QueryDocumentDetailRequest) Validate() error + func (m *QueryDocumentDetailRequest) ValidateAll() error + func (x *QueryDocumentDetailRequest) GetId() int64 + func (x *QueryDocumentDetailRequest) ProtoReflect() protoreflect.Message + func (x *QueryDocumentDetailRequest) Reset() + func (x *QueryDocumentDetailRequest) String() string + type QueryDocumentDetailRequestMultiError []error + func (m QueryDocumentDetailRequestMultiError) AllErrors() []error + func (m QueryDocumentDetailRequestMultiError) Error() string + type QueryDocumentDetailRequestValidationError struct + func (e QueryDocumentDetailRequestValidationError) Cause() error + func (e QueryDocumentDetailRequestValidationError) Error() string + func (e QueryDocumentDetailRequestValidationError) ErrorName() string + func (e QueryDocumentDetailRequestValidationError) Field() string + func (e QueryDocumentDetailRequestValidationError) Key() bool + func (e QueryDocumentDetailRequestValidationError) Reason() string + type UnimplementedPublicDocumentServer struct + func (UnimplementedPublicDocumentServer) QueryDocumentDetail(context.Context, *QueryDocumentDetailRequest) (*DocumentDetailReply, error) + func (UnimplementedPublicDocumentServer) QueryDocumentList(context.Context, *emptypb.Empty) (*DocumentListReply, error) + type UnsafePublicDocumentServer interface