Documentation
¶
Index ¶
- func RegisterArticleServiceServer(s *grpc.Server, srv ArticleServiceServer)
- func RegisterCategoryServiceServer(s *grpc.Server, srv CategoryServiceServer)
- type Article
- func (*Article) Descriptor() ([]byte, []int)
- func (m *Article) GetDescription() string
- func (m *Article) GetTitle() string
- func (m *Article) GetUuid() *UUID
- func (*Article) ProtoMessage()
- func (m *Article) Reset()
- func (m *Article) String() string
- func (m *Article) XXX_DiscardUnknown()
- func (m *Article) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Article) XXX_Merge(src proto.Message)
- func (m *Article) XXX_Size() int
- func (m *Article) XXX_Unmarshal(b []byte) error
- type ArticleServiceClient
- type ArticleServiceServer
- type Category
- func (*Category) Descriptor() ([]byte, []int)
- func (m *Category) GetCreatedAt() *timestamp.Timestamp
- func (m *Category) GetDeletedAt() *timestamp.Timestamp
- func (m *Category) GetName() string
- func (m *Category) GetSlug() string
- func (m *Category) GetUpdatedAt() *timestamp.Timestamp
- func (m *Category) GetUuid() *UUID
- func (*Category) ProtoMessage()
- func (m *Category) Reset()
- func (m *Category) String() string
- func (m *Category) XXX_DiscardUnknown()
- func (m *Category) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Category) XXX_Merge(src proto.Message)
- func (m *Category) XXX_Size() int
- func (m *Category) XXX_Unmarshal(b []byte) error
- type CategoryServiceClient
- type CategoryServiceServer
- type CreateArticleRequest
- func (*CreateArticleRequest) Descriptor() ([]byte, []int)
- func (m *CreateArticleRequest) GetArticle() *Article
- func (*CreateArticleRequest) ProtoMessage()
- func (m *CreateArticleRequest) Reset()
- func (m *CreateArticleRequest) String() string
- func (m *CreateArticleRequest) XXX_DiscardUnknown()
- func (m *CreateArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateArticleRequest) XXX_Merge(src proto.Message)
- func (m *CreateArticleRequest) XXX_Size() int
- func (m *CreateArticleRequest) XXX_Unmarshal(b []byte) error
- type CreateArticleResponse
- func (*CreateArticleResponse) Descriptor() ([]byte, []int)
- func (m *CreateArticleResponse) GetArticle() *Article
- func (*CreateArticleResponse) ProtoMessage()
- func (m *CreateArticleResponse) Reset()
- func (m *CreateArticleResponse) String() string
- func (m *CreateArticleResponse) XXX_DiscardUnknown()
- func (m *CreateArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateArticleResponse) XXX_Merge(src proto.Message)
- func (m *CreateArticleResponse) XXX_Size() int
- func (m *CreateArticleResponse) XXX_Unmarshal(b []byte) error
- type CreateCategoryRequest
- func (*CreateCategoryRequest) Descriptor() ([]byte, []int)
- func (m *CreateCategoryRequest) GetCategory() *Category
- func (*CreateCategoryRequest) ProtoMessage()
- func (m *CreateCategoryRequest) Reset()
- func (m *CreateCategoryRequest) String() string
- func (m *CreateCategoryRequest) XXX_DiscardUnknown()
- func (m *CreateCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCategoryRequest) XXX_Merge(src proto.Message)
- func (m *CreateCategoryRequest) XXX_Size() int
- func (m *CreateCategoryRequest) XXX_Unmarshal(b []byte) error
- type CreateCategoryResponse
- func (*CreateCategoryResponse) Descriptor() ([]byte, []int)
- func (m *CreateCategoryResponse) GetCategory() *Category
- func (*CreateCategoryResponse) ProtoMessage()
- func (m *CreateCategoryResponse) Reset()
- func (m *CreateCategoryResponse) String() string
- func (m *CreateCategoryResponse) XXX_DiscardUnknown()
- func (m *CreateCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCategoryResponse) XXX_Merge(src proto.Message)
- func (m *CreateCategoryResponse) XXX_Size() int
- func (m *CreateCategoryResponse) XXX_Unmarshal(b []byte) error
- type DeleteArticleRequest
- func (*DeleteArticleRequest) Descriptor() ([]byte, []int)
- func (m *DeleteArticleRequest) GetUuid() *UUID
- func (*DeleteArticleRequest) ProtoMessage()
- func (m *DeleteArticleRequest) Reset()
- func (m *DeleteArticleRequest) String() string
- func (m *DeleteArticleRequest) XXX_DiscardUnknown()
- func (m *DeleteArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteArticleRequest) XXX_Merge(src proto.Message)
- func (m *DeleteArticleRequest) XXX_Size() int
- func (m *DeleteArticleRequest) XXX_Unmarshal(b []byte) error
- type DeleteArticleResponse
- func (*DeleteArticleResponse) Descriptor() ([]byte, []int)
- func (m *DeleteArticleResponse) GetUuid() *UUID
- func (*DeleteArticleResponse) ProtoMessage()
- func (m *DeleteArticleResponse) Reset()
- func (m *DeleteArticleResponse) String() string
- func (m *DeleteArticleResponse) XXX_DiscardUnknown()
- func (m *DeleteArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteArticleResponse) XXX_Merge(src proto.Message)
- func (m *DeleteArticleResponse) XXX_Size() int
- func (m *DeleteArticleResponse) XXX_Unmarshal(b []byte) error
- type DeleteCategoryRequest
- func (*DeleteCategoryRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCategoryRequest) GetCategory() *Category
- func (*DeleteCategoryRequest) ProtoMessage()
- func (m *DeleteCategoryRequest) Reset()
- func (m *DeleteCategoryRequest) String() string
- func (m *DeleteCategoryRequest) XXX_DiscardUnknown()
- func (m *DeleteCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCategoryRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCategoryRequest) XXX_Size() int
- func (m *DeleteCategoryRequest) XXX_Unmarshal(b []byte) error
- type DeleteCategoryResponse
- func (*DeleteCategoryResponse) Descriptor() ([]byte, []int)
- func (m *DeleteCategoryResponse) GetCategory() *Category
- func (*DeleteCategoryResponse) ProtoMessage()
- func (m *DeleteCategoryResponse) Reset()
- func (m *DeleteCategoryResponse) String() string
- func (m *DeleteCategoryResponse) XXX_DiscardUnknown()
- func (m *DeleteCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCategoryResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCategoryResponse) XXX_Size() int
- func (m *DeleteCategoryResponse) XXX_Unmarshal(b []byte) error
- type ListArticleRequest
- func (*ListArticleRequest) Descriptor() ([]byte, []int)
- func (*ListArticleRequest) ProtoMessage()
- func (m *ListArticleRequest) Reset()
- func (m *ListArticleRequest) String() string
- func (m *ListArticleRequest) XXX_DiscardUnknown()
- func (m *ListArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListArticleRequest) XXX_Merge(src proto.Message)
- func (m *ListArticleRequest) XXX_Size() int
- func (m *ListArticleRequest) XXX_Unmarshal(b []byte) error
- type ListArticleResponse
- func (*ListArticleResponse) Descriptor() ([]byte, []int)
- func (m *ListArticleResponse) GetArticle() []*Article
- func (*ListArticleResponse) ProtoMessage()
- func (m *ListArticleResponse) Reset()
- func (m *ListArticleResponse) String() string
- func (m *ListArticleResponse) XXX_DiscardUnknown()
- func (m *ListArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListArticleResponse) XXX_Merge(src proto.Message)
- func (m *ListArticleResponse) XXX_Size() int
- func (m *ListArticleResponse) XXX_Unmarshal(b []byte) error
- type ListCategoryRequest
- func (*ListCategoryRequest) Descriptor() ([]byte, []int)
- func (*ListCategoryRequest) ProtoMessage()
- func (m *ListCategoryRequest) Reset()
- func (m *ListCategoryRequest) String() string
- func (m *ListCategoryRequest) XXX_DiscardUnknown()
- func (m *ListCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCategoryRequest) XXX_Merge(src proto.Message)
- func (m *ListCategoryRequest) XXX_Size() int
- func (m *ListCategoryRequest) XXX_Unmarshal(b []byte) error
- type ListCategoryResponse
- func (*ListCategoryResponse) Descriptor() ([]byte, []int)
- func (m *ListCategoryResponse) GetCategory() *Category
- func (*ListCategoryResponse) ProtoMessage()
- func (m *ListCategoryResponse) Reset()
- func (m *ListCategoryResponse) String() string
- func (m *ListCategoryResponse) XXX_DiscardUnknown()
- func (m *ListCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCategoryResponse) XXX_Merge(src proto.Message)
- func (m *ListCategoryResponse) XXX_Size() int
- func (m *ListCategoryResponse) XXX_Unmarshal(b []byte) error
- type ShowArticleRequest
- func (*ShowArticleRequest) Descriptor() ([]byte, []int)
- func (m *ShowArticleRequest) GetArticleId() string
- func (*ShowArticleRequest) ProtoMessage()
- func (m *ShowArticleRequest) Reset()
- func (m *ShowArticleRequest) String() string
- func (m *ShowArticleRequest) XXX_DiscardUnknown()
- func (m *ShowArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShowArticleRequest) XXX_Merge(src proto.Message)
- func (m *ShowArticleRequest) XXX_Size() int
- func (m *ShowArticleRequest) XXX_Unmarshal(b []byte) error
- type ShowArticleResponse
- func (*ShowArticleResponse) Descriptor() ([]byte, []int)
- func (m *ShowArticleResponse) GetArticle() *Article
- func (*ShowArticleResponse) ProtoMessage()
- func (m *ShowArticleResponse) Reset()
- func (m *ShowArticleResponse) String() string
- func (m *ShowArticleResponse) XXX_DiscardUnknown()
- func (m *ShowArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShowArticleResponse) XXX_Merge(src proto.Message)
- func (m *ShowArticleResponse) XXX_Size() int
- func (m *ShowArticleResponse) XXX_Unmarshal(b []byte) error
- type ShowCategoryRequest
- func (*ShowCategoryRequest) Descriptor() ([]byte, []int)
- func (m *ShowCategoryRequest) GetCategoryId() string
- func (*ShowCategoryRequest) ProtoMessage()
- func (m *ShowCategoryRequest) Reset()
- func (m *ShowCategoryRequest) String() string
- func (m *ShowCategoryRequest) XXX_DiscardUnknown()
- func (m *ShowCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShowCategoryRequest) XXX_Merge(src proto.Message)
- func (m *ShowCategoryRequest) XXX_Size() int
- func (m *ShowCategoryRequest) XXX_Unmarshal(b []byte) error
- type ShowCategoryResponse
- func (*ShowCategoryResponse) Descriptor() ([]byte, []int)
- func (m *ShowCategoryResponse) GetCategory() *Category
- func (*ShowCategoryResponse) ProtoMessage()
- func (m *ShowCategoryResponse) Reset()
- func (m *ShowCategoryResponse) String() string
- func (m *ShowCategoryResponse) XXX_DiscardUnknown()
- func (m *ShowCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShowCategoryResponse) XXX_Merge(src proto.Message)
- func (m *ShowCategoryResponse) XXX_Size() int
- func (m *ShowCategoryResponse) XXX_Unmarshal(b []byte) error
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)
- func (m *UUID) GetUuid() string
- func (*UUID) ProtoMessage()
- func (m *UUID) Reset()
- func (m *UUID) String() string
- func (m *UUID) XXX_DiscardUnknown()
- func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UUID) XXX_Merge(src proto.Message)
- func (m *UUID) XXX_Size() int
- func (m *UUID) XXX_Unmarshal(b []byte) error
- type UnimplementedArticleServiceServer
- func (*UnimplementedArticleServiceServer) CreateArticle(ctx context.Context, req *CreateArticleRequest) (*CreateArticleResponse, error)
- func (*UnimplementedArticleServiceServer) DeleteArticle(ctx context.Context, req *DeleteArticleRequest) (*DeleteArticleResponse, error)
- func (*UnimplementedArticleServiceServer) ListArticle(ctx context.Context, req *ListArticleRequest) (*ListArticleResponse, error)
- func (*UnimplementedArticleServiceServer) ShowArticle(ctx context.Context, req *ShowArticleRequest) (*ShowArticleResponse, error)
- func (*UnimplementedArticleServiceServer) UpdateArticle(ctx context.Context, req *UpdateArticleRequest) (*UpdateArticleResponse, error)
- type UnimplementedCategoryServiceServer
- func (*UnimplementedCategoryServiceServer) CreateCategory(ctx context.Context, req *CreateCategoryRequest) (*CreateCategoryResponse, error)
- func (*UnimplementedCategoryServiceServer) DeleteCategory(ctx context.Context, req *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
- func (*UnimplementedCategoryServiceServer) ListCategory(ctx context.Context, req *ListCategoryRequest) (*ListCategoryResponse, error)
- func (*UnimplementedCategoryServiceServer) ShowCategory(ctx context.Context, req *ShowCategoryRequest) (*ShowCategoryResponse, error)
- func (*UnimplementedCategoryServiceServer) UpdateCategory(ctx context.Context, req *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
- type UpdateArticleRequest
- func (*UpdateArticleRequest) Descriptor() ([]byte, []int)
- func (m *UpdateArticleRequest) GetArticle() *Article
- func (*UpdateArticleRequest) ProtoMessage()
- func (m *UpdateArticleRequest) Reset()
- func (m *UpdateArticleRequest) String() string
- func (m *UpdateArticleRequest) XXX_DiscardUnknown()
- func (m *UpdateArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateArticleRequest) XXX_Merge(src proto.Message)
- func (m *UpdateArticleRequest) XXX_Size() int
- func (m *UpdateArticleRequest) XXX_Unmarshal(b []byte) error
- type UpdateArticleResponse
- func (*UpdateArticleResponse) Descriptor() ([]byte, []int)
- func (m *UpdateArticleResponse) GetArticle() *Article
- func (*UpdateArticleResponse) ProtoMessage()
- func (m *UpdateArticleResponse) Reset()
- func (m *UpdateArticleResponse) String() string
- func (m *UpdateArticleResponse) XXX_DiscardUnknown()
- func (m *UpdateArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateArticleResponse) XXX_Merge(src proto.Message)
- func (m *UpdateArticleResponse) XXX_Size() int
- func (m *UpdateArticleResponse) XXX_Unmarshal(b []byte) error
- type UpdateCategoryRequest
- func (*UpdateCategoryRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCategoryRequest) GetCategory() *Category
- func (*UpdateCategoryRequest) ProtoMessage()
- func (m *UpdateCategoryRequest) Reset()
- func (m *UpdateCategoryRequest) String() string
- func (m *UpdateCategoryRequest) XXX_DiscardUnknown()
- func (m *UpdateCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCategoryRequest) XXX_Merge(src proto.Message)
- func (m *UpdateCategoryRequest) XXX_Size() int
- func (m *UpdateCategoryRequest) XXX_Unmarshal(b []byte) error
- type UpdateCategoryResponse
- func (*UpdateCategoryResponse) Descriptor() ([]byte, []int)
- func (m *UpdateCategoryResponse) GetCategory() *Category
- func (*UpdateCategoryResponse) ProtoMessage()
- func (m *UpdateCategoryResponse) Reset()
- func (m *UpdateCategoryResponse) String() string
- func (m *UpdateCategoryResponse) XXX_DiscardUnknown()
- func (m *UpdateCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCategoryResponse) XXX_Merge(src proto.Message)
- func (m *UpdateCategoryResponse) XXX_Size() int
- func (m *UpdateCategoryResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterArticleServiceServer ¶
func RegisterArticleServiceServer(s *grpc.Server, srv ArticleServiceServer)
func RegisterCategoryServiceServer ¶
func RegisterCategoryServiceServer(s *grpc.Server, srv CategoryServiceServer)
Types ¶
type Article ¶
type Article struct { Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Article) Descriptor ¶
func (*Article) GetDescription ¶
func (*Article) ProtoMessage ¶
func (*Article) ProtoMessage()
func (*Article) XXX_DiscardUnknown ¶
func (m *Article) XXX_DiscardUnknown()
func (*Article) XXX_Marshal ¶
func (*Article) XXX_Unmarshal ¶
type ArticleServiceClient ¶
type ArticleServiceClient interface { ListArticle(ctx context.Context, in *ListArticleRequest, opts ...grpc.CallOption) (*ListArticleResponse, error) ShowArticle(ctx context.Context, in *ShowArticleRequest, opts ...grpc.CallOption) (*ShowArticleResponse, error) CreateArticle(ctx context.Context, in *CreateArticleRequest, opts ...grpc.CallOption) (*CreateArticleResponse, error) UpdateArticle(ctx context.Context, in *UpdateArticleRequest, opts ...grpc.CallOption) (*UpdateArticleResponse, error) DeleteArticle(ctx context.Context, in *DeleteArticleRequest, opts ...grpc.CallOption) (*DeleteArticleResponse, error) }
ArticleServiceClient is the client API for ArticleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewArticleServiceClient ¶
func NewArticleServiceClient(cc *grpc.ClientConn) ArticleServiceClient
type ArticleServiceServer ¶
type ArticleServiceServer interface { ListArticle(context.Context, *ListArticleRequest) (*ListArticleResponse, error) ShowArticle(context.Context, *ShowArticleRequest) (*ShowArticleResponse, error) CreateArticle(context.Context, *CreateArticleRequest) (*CreateArticleResponse, error) UpdateArticle(context.Context, *UpdateArticleRequest) (*UpdateArticleResponse, error) DeleteArticle(context.Context, *DeleteArticleRequest) (*DeleteArticleResponse, error) }
ArticleServiceServer is the server API for ArticleService service.
type Category ¶
type Category struct { Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Category) Descriptor ¶
func (*Category) GetCreatedAt ¶
func (*Category) GetDeletedAt ¶
func (*Category) GetUpdatedAt ¶
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) XXX_DiscardUnknown ¶
func (m *Category) XXX_DiscardUnknown()
func (*Category) XXX_Marshal ¶
func (*Category) XXX_Unmarshal ¶
type CategoryServiceClient ¶
type CategoryServiceClient interface { ListCategory(ctx context.Context, in *ListCategoryRequest, opts ...grpc.CallOption) (*ListCategoryResponse, error) ShowCategory(ctx context.Context, in *ShowCategoryRequest, opts ...grpc.CallOption) (*ShowCategoryResponse, error) CreateCategory(ctx context.Context, in *CreateCategoryRequest, opts ...grpc.CallOption) (*CreateCategoryResponse, error) UpdateCategory(ctx context.Context, in *UpdateCategoryRequest, opts ...grpc.CallOption) (*UpdateCategoryResponse, error) DeleteCategory(ctx context.Context, in *DeleteCategoryRequest, opts ...grpc.CallOption) (*DeleteCategoryResponse, error) }
CategoryServiceClient is the client API for CategoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCategoryServiceClient ¶
func NewCategoryServiceClient(cc *grpc.ClientConn) CategoryServiceClient
type CategoryServiceServer ¶
type CategoryServiceServer interface { ListCategory(context.Context, *ListCategoryRequest) (*ListCategoryResponse, error) ShowCategory(context.Context, *ShowCategoryRequest) (*ShowCategoryResponse, error) CreateCategory(context.Context, *CreateCategoryRequest) (*CreateCategoryResponse, error) UpdateCategory(context.Context, *UpdateCategoryRequest) (*UpdateCategoryResponse, error) DeleteCategory(context.Context, *DeleteCategoryRequest) (*DeleteCategoryResponse, error) }
CategoryServiceServer is the server API for CategoryService service.
type CreateArticleRequest ¶
type CreateArticleRequest struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateArticleRequest) Descriptor ¶
func (*CreateArticleRequest) Descriptor() ([]byte, []int)
func (*CreateArticleRequest) GetArticle ¶
func (m *CreateArticleRequest) GetArticle() *Article
func (*CreateArticleRequest) ProtoMessage ¶
func (*CreateArticleRequest) ProtoMessage()
func (*CreateArticleRequest) Reset ¶
func (m *CreateArticleRequest) Reset()
func (*CreateArticleRequest) String ¶
func (m *CreateArticleRequest) String() string
func (*CreateArticleRequest) XXX_DiscardUnknown ¶
func (m *CreateArticleRequest) XXX_DiscardUnknown()
func (*CreateArticleRequest) XXX_Marshal ¶
func (m *CreateArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateArticleRequest) XXX_Merge ¶
func (m *CreateArticleRequest) XXX_Merge(src proto.Message)
func (*CreateArticleRequest) XXX_Size ¶
func (m *CreateArticleRequest) XXX_Size() int
func (*CreateArticleRequest) XXX_Unmarshal ¶
func (m *CreateArticleRequest) XXX_Unmarshal(b []byte) error
type CreateArticleResponse ¶
type CreateArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateArticleResponse) Descriptor ¶
func (*CreateArticleResponse) Descriptor() ([]byte, []int)
func (*CreateArticleResponse) GetArticle ¶
func (m *CreateArticleResponse) GetArticle() *Article
func (*CreateArticleResponse) ProtoMessage ¶
func (*CreateArticleResponse) ProtoMessage()
func (*CreateArticleResponse) Reset ¶
func (m *CreateArticleResponse) Reset()
func (*CreateArticleResponse) String ¶
func (m *CreateArticleResponse) String() string
func (*CreateArticleResponse) XXX_DiscardUnknown ¶
func (m *CreateArticleResponse) XXX_DiscardUnknown()
func (*CreateArticleResponse) XXX_Marshal ¶
func (m *CreateArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateArticleResponse) XXX_Merge ¶
func (m *CreateArticleResponse) XXX_Merge(src proto.Message)
func (*CreateArticleResponse) XXX_Size ¶
func (m *CreateArticleResponse) XXX_Size() int
func (*CreateArticleResponse) XXX_Unmarshal ¶
func (m *CreateArticleResponse) XXX_Unmarshal(b []byte) error
type CreateCategoryRequest ¶
type CreateCategoryRequest struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCategoryRequest) Descriptor ¶
func (*CreateCategoryRequest) Descriptor() ([]byte, []int)
func (*CreateCategoryRequest) GetCategory ¶
func (m *CreateCategoryRequest) GetCategory() *Category
func (*CreateCategoryRequest) ProtoMessage ¶
func (*CreateCategoryRequest) ProtoMessage()
func (*CreateCategoryRequest) Reset ¶
func (m *CreateCategoryRequest) Reset()
func (*CreateCategoryRequest) String ¶
func (m *CreateCategoryRequest) String() string
func (*CreateCategoryRequest) XXX_DiscardUnknown ¶
func (m *CreateCategoryRequest) XXX_DiscardUnknown()
func (*CreateCategoryRequest) XXX_Marshal ¶
func (m *CreateCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCategoryRequest) XXX_Merge ¶
func (m *CreateCategoryRequest) XXX_Merge(src proto.Message)
func (*CreateCategoryRequest) XXX_Size ¶
func (m *CreateCategoryRequest) XXX_Size() int
func (*CreateCategoryRequest) XXX_Unmarshal ¶
func (m *CreateCategoryRequest) XXX_Unmarshal(b []byte) error
type CreateCategoryResponse ¶
type CreateCategoryResponse struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCategoryResponse) Descriptor ¶
func (*CreateCategoryResponse) Descriptor() ([]byte, []int)
func (*CreateCategoryResponse) GetCategory ¶
func (m *CreateCategoryResponse) GetCategory() *Category
func (*CreateCategoryResponse) ProtoMessage ¶
func (*CreateCategoryResponse) ProtoMessage()
func (*CreateCategoryResponse) Reset ¶
func (m *CreateCategoryResponse) Reset()
func (*CreateCategoryResponse) String ¶
func (m *CreateCategoryResponse) String() string
func (*CreateCategoryResponse) XXX_DiscardUnknown ¶
func (m *CreateCategoryResponse) XXX_DiscardUnknown()
func (*CreateCategoryResponse) XXX_Marshal ¶
func (m *CreateCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCategoryResponse) XXX_Merge ¶
func (m *CreateCategoryResponse) XXX_Merge(src proto.Message)
func (*CreateCategoryResponse) XXX_Size ¶
func (m *CreateCategoryResponse) XXX_Size() int
func (*CreateCategoryResponse) XXX_Unmarshal ¶
func (m *CreateCategoryResponse) XXX_Unmarshal(b []byte) error
type DeleteArticleRequest ¶
type DeleteArticleRequest struct { Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteArticleRequest) Descriptor ¶
func (*DeleteArticleRequest) Descriptor() ([]byte, []int)
func (*DeleteArticleRequest) GetUuid ¶
func (m *DeleteArticleRequest) GetUuid() *UUID
func (*DeleteArticleRequest) ProtoMessage ¶
func (*DeleteArticleRequest) ProtoMessage()
func (*DeleteArticleRequest) Reset ¶
func (m *DeleteArticleRequest) Reset()
func (*DeleteArticleRequest) String ¶
func (m *DeleteArticleRequest) String() string
func (*DeleteArticleRequest) XXX_DiscardUnknown ¶
func (m *DeleteArticleRequest) XXX_DiscardUnknown()
func (*DeleteArticleRequest) XXX_Marshal ¶
func (m *DeleteArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteArticleRequest) XXX_Merge ¶
func (m *DeleteArticleRequest) XXX_Merge(src proto.Message)
func (*DeleteArticleRequest) XXX_Size ¶
func (m *DeleteArticleRequest) XXX_Size() int
func (*DeleteArticleRequest) XXX_Unmarshal ¶
func (m *DeleteArticleRequest) XXX_Unmarshal(b []byte) error
type DeleteArticleResponse ¶
type DeleteArticleResponse struct { Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteArticleResponse) Descriptor ¶
func (*DeleteArticleResponse) Descriptor() ([]byte, []int)
func (*DeleteArticleResponse) GetUuid ¶
func (m *DeleteArticleResponse) GetUuid() *UUID
func (*DeleteArticleResponse) ProtoMessage ¶
func (*DeleteArticleResponse) ProtoMessage()
func (*DeleteArticleResponse) Reset ¶
func (m *DeleteArticleResponse) Reset()
func (*DeleteArticleResponse) String ¶
func (m *DeleteArticleResponse) String() string
func (*DeleteArticleResponse) XXX_DiscardUnknown ¶
func (m *DeleteArticleResponse) XXX_DiscardUnknown()
func (*DeleteArticleResponse) XXX_Marshal ¶
func (m *DeleteArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteArticleResponse) XXX_Merge ¶
func (m *DeleteArticleResponse) XXX_Merge(src proto.Message)
func (*DeleteArticleResponse) XXX_Size ¶
func (m *DeleteArticleResponse) XXX_Size() int
func (*DeleteArticleResponse) XXX_Unmarshal ¶
func (m *DeleteArticleResponse) XXX_Unmarshal(b []byte) error
type DeleteCategoryRequest ¶
type DeleteCategoryRequest struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCategoryRequest) Descriptor ¶
func (*DeleteCategoryRequest) Descriptor() ([]byte, []int)
func (*DeleteCategoryRequest) GetCategory ¶
func (m *DeleteCategoryRequest) GetCategory() *Category
func (*DeleteCategoryRequest) ProtoMessage ¶
func (*DeleteCategoryRequest) ProtoMessage()
func (*DeleteCategoryRequest) Reset ¶
func (m *DeleteCategoryRequest) Reset()
func (*DeleteCategoryRequest) String ¶
func (m *DeleteCategoryRequest) String() string
func (*DeleteCategoryRequest) XXX_DiscardUnknown ¶
func (m *DeleteCategoryRequest) XXX_DiscardUnknown()
func (*DeleteCategoryRequest) XXX_Marshal ¶
func (m *DeleteCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCategoryRequest) XXX_Merge ¶
func (m *DeleteCategoryRequest) XXX_Merge(src proto.Message)
func (*DeleteCategoryRequest) XXX_Size ¶
func (m *DeleteCategoryRequest) XXX_Size() int
func (*DeleteCategoryRequest) XXX_Unmarshal ¶
func (m *DeleteCategoryRequest) XXX_Unmarshal(b []byte) error
type DeleteCategoryResponse ¶
type DeleteCategoryResponse struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCategoryResponse) Descriptor ¶
func (*DeleteCategoryResponse) Descriptor() ([]byte, []int)
func (*DeleteCategoryResponse) GetCategory ¶
func (m *DeleteCategoryResponse) GetCategory() *Category
func (*DeleteCategoryResponse) ProtoMessage ¶
func (*DeleteCategoryResponse) ProtoMessage()
func (*DeleteCategoryResponse) Reset ¶
func (m *DeleteCategoryResponse) Reset()
func (*DeleteCategoryResponse) String ¶
func (m *DeleteCategoryResponse) String() string
func (*DeleteCategoryResponse) XXX_DiscardUnknown ¶
func (m *DeleteCategoryResponse) XXX_DiscardUnknown()
func (*DeleteCategoryResponse) XXX_Marshal ¶
func (m *DeleteCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCategoryResponse) XXX_Merge ¶
func (m *DeleteCategoryResponse) XXX_Merge(src proto.Message)
func (*DeleteCategoryResponse) XXX_Size ¶
func (m *DeleteCategoryResponse) XXX_Size() int
func (*DeleteCategoryResponse) XXX_Unmarshal ¶
func (m *DeleteCategoryResponse) XXX_Unmarshal(b []byte) error
type ListArticleRequest ¶
type ListArticleRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListArticleRequest) Descriptor ¶
func (*ListArticleRequest) Descriptor() ([]byte, []int)
func (*ListArticleRequest) ProtoMessage ¶
func (*ListArticleRequest) ProtoMessage()
func (*ListArticleRequest) Reset ¶
func (m *ListArticleRequest) Reset()
func (*ListArticleRequest) String ¶
func (m *ListArticleRequest) String() string
func (*ListArticleRequest) XXX_DiscardUnknown ¶
func (m *ListArticleRequest) XXX_DiscardUnknown()
func (*ListArticleRequest) XXX_Marshal ¶
func (m *ListArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListArticleRequest) XXX_Merge ¶
func (m *ListArticleRequest) XXX_Merge(src proto.Message)
func (*ListArticleRequest) XXX_Size ¶
func (m *ListArticleRequest) XXX_Size() int
func (*ListArticleRequest) XXX_Unmarshal ¶
func (m *ListArticleRequest) XXX_Unmarshal(b []byte) error
type ListArticleResponse ¶
type ListArticleResponse struct { Article []*Article `protobuf:"bytes,1,rep,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListArticleResponse) Descriptor ¶
func (*ListArticleResponse) Descriptor() ([]byte, []int)
func (*ListArticleResponse) GetArticle ¶
func (m *ListArticleResponse) GetArticle() []*Article
func (*ListArticleResponse) ProtoMessage ¶
func (*ListArticleResponse) ProtoMessage()
func (*ListArticleResponse) Reset ¶
func (m *ListArticleResponse) Reset()
func (*ListArticleResponse) String ¶
func (m *ListArticleResponse) String() string
func (*ListArticleResponse) XXX_DiscardUnknown ¶
func (m *ListArticleResponse) XXX_DiscardUnknown()
func (*ListArticleResponse) XXX_Marshal ¶
func (m *ListArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListArticleResponse) XXX_Merge ¶
func (m *ListArticleResponse) XXX_Merge(src proto.Message)
func (*ListArticleResponse) XXX_Size ¶
func (m *ListArticleResponse) XXX_Size() int
func (*ListArticleResponse) XXX_Unmarshal ¶
func (m *ListArticleResponse) XXX_Unmarshal(b []byte) error
type ListCategoryRequest ¶
type ListCategoryRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCategoryRequest) Descriptor ¶
func (*ListCategoryRequest) Descriptor() ([]byte, []int)
func (*ListCategoryRequest) ProtoMessage ¶
func (*ListCategoryRequest) ProtoMessage()
func (*ListCategoryRequest) Reset ¶
func (m *ListCategoryRequest) Reset()
func (*ListCategoryRequest) String ¶
func (m *ListCategoryRequest) String() string
func (*ListCategoryRequest) XXX_DiscardUnknown ¶
func (m *ListCategoryRequest) XXX_DiscardUnknown()
func (*ListCategoryRequest) XXX_Marshal ¶
func (m *ListCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCategoryRequest) XXX_Merge ¶
func (m *ListCategoryRequest) XXX_Merge(src proto.Message)
func (*ListCategoryRequest) XXX_Size ¶
func (m *ListCategoryRequest) XXX_Size() int
func (*ListCategoryRequest) XXX_Unmarshal ¶
func (m *ListCategoryRequest) XXX_Unmarshal(b []byte) error
type ListCategoryResponse ¶
type ListCategoryResponse struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCategoryResponse) Descriptor ¶
func (*ListCategoryResponse) Descriptor() ([]byte, []int)
func (*ListCategoryResponse) GetCategory ¶
func (m *ListCategoryResponse) GetCategory() *Category
func (*ListCategoryResponse) ProtoMessage ¶
func (*ListCategoryResponse) ProtoMessage()
func (*ListCategoryResponse) Reset ¶
func (m *ListCategoryResponse) Reset()
func (*ListCategoryResponse) String ¶
func (m *ListCategoryResponse) String() string
func (*ListCategoryResponse) XXX_DiscardUnknown ¶
func (m *ListCategoryResponse) XXX_DiscardUnknown()
func (*ListCategoryResponse) XXX_Marshal ¶
func (m *ListCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCategoryResponse) XXX_Merge ¶
func (m *ListCategoryResponse) XXX_Merge(src proto.Message)
func (*ListCategoryResponse) XXX_Size ¶
func (m *ListCategoryResponse) XXX_Size() int
func (*ListCategoryResponse) XXX_Unmarshal ¶
func (m *ListCategoryResponse) XXX_Unmarshal(b []byte) error
type ShowArticleRequest ¶
type ShowArticleRequest struct { ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShowArticleRequest) Descriptor ¶
func (*ShowArticleRequest) Descriptor() ([]byte, []int)
func (*ShowArticleRequest) GetArticleId ¶
func (m *ShowArticleRequest) GetArticleId() string
func (*ShowArticleRequest) ProtoMessage ¶
func (*ShowArticleRequest) ProtoMessage()
func (*ShowArticleRequest) Reset ¶
func (m *ShowArticleRequest) Reset()
func (*ShowArticleRequest) String ¶
func (m *ShowArticleRequest) String() string
func (*ShowArticleRequest) XXX_DiscardUnknown ¶
func (m *ShowArticleRequest) XXX_DiscardUnknown()
func (*ShowArticleRequest) XXX_Marshal ¶
func (m *ShowArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShowArticleRequest) XXX_Merge ¶
func (m *ShowArticleRequest) XXX_Merge(src proto.Message)
func (*ShowArticleRequest) XXX_Size ¶
func (m *ShowArticleRequest) XXX_Size() int
func (*ShowArticleRequest) XXX_Unmarshal ¶
func (m *ShowArticleRequest) XXX_Unmarshal(b []byte) error
type ShowArticleResponse ¶
type ShowArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShowArticleResponse) Descriptor ¶
func (*ShowArticleResponse) Descriptor() ([]byte, []int)
func (*ShowArticleResponse) GetArticle ¶
func (m *ShowArticleResponse) GetArticle() *Article
func (*ShowArticleResponse) ProtoMessage ¶
func (*ShowArticleResponse) ProtoMessage()
func (*ShowArticleResponse) Reset ¶
func (m *ShowArticleResponse) Reset()
func (*ShowArticleResponse) String ¶
func (m *ShowArticleResponse) String() string
func (*ShowArticleResponse) XXX_DiscardUnknown ¶
func (m *ShowArticleResponse) XXX_DiscardUnknown()
func (*ShowArticleResponse) XXX_Marshal ¶
func (m *ShowArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShowArticleResponse) XXX_Merge ¶
func (m *ShowArticleResponse) XXX_Merge(src proto.Message)
func (*ShowArticleResponse) XXX_Size ¶
func (m *ShowArticleResponse) XXX_Size() int
func (*ShowArticleResponse) XXX_Unmarshal ¶
func (m *ShowArticleResponse) XXX_Unmarshal(b []byte) error
type ShowCategoryRequest ¶
type ShowCategoryRequest struct { CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShowCategoryRequest) Descriptor ¶
func (*ShowCategoryRequest) Descriptor() ([]byte, []int)
func (*ShowCategoryRequest) GetCategoryId ¶
func (m *ShowCategoryRequest) GetCategoryId() string
func (*ShowCategoryRequest) ProtoMessage ¶
func (*ShowCategoryRequest) ProtoMessage()
func (*ShowCategoryRequest) Reset ¶
func (m *ShowCategoryRequest) Reset()
func (*ShowCategoryRequest) String ¶
func (m *ShowCategoryRequest) String() string
func (*ShowCategoryRequest) XXX_DiscardUnknown ¶
func (m *ShowCategoryRequest) XXX_DiscardUnknown()
func (*ShowCategoryRequest) XXX_Marshal ¶
func (m *ShowCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShowCategoryRequest) XXX_Merge ¶
func (m *ShowCategoryRequest) XXX_Merge(src proto.Message)
func (*ShowCategoryRequest) XXX_Size ¶
func (m *ShowCategoryRequest) XXX_Size() int
func (*ShowCategoryRequest) XXX_Unmarshal ¶
func (m *ShowCategoryRequest) XXX_Unmarshal(b []byte) error
type ShowCategoryResponse ¶
type ShowCategoryResponse struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShowCategoryResponse) Descriptor ¶
func (*ShowCategoryResponse) Descriptor() ([]byte, []int)
func (*ShowCategoryResponse) GetCategory ¶
func (m *ShowCategoryResponse) GetCategory() *Category
func (*ShowCategoryResponse) ProtoMessage ¶
func (*ShowCategoryResponse) ProtoMessage()
func (*ShowCategoryResponse) Reset ¶
func (m *ShowCategoryResponse) Reset()
func (*ShowCategoryResponse) String ¶
func (m *ShowCategoryResponse) String() string
func (*ShowCategoryResponse) XXX_DiscardUnknown ¶
func (m *ShowCategoryResponse) XXX_DiscardUnknown()
func (*ShowCategoryResponse) XXX_Marshal ¶
func (m *ShowCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShowCategoryResponse) XXX_Merge ¶
func (m *ShowCategoryResponse) XXX_Merge(src proto.Message)
func (*ShowCategoryResponse) XXX_Size ¶
func (m *ShowCategoryResponse) XXX_Size() int
func (*ShowCategoryResponse) XXX_Unmarshal ¶
func (m *ShowCategoryResponse) XXX_Unmarshal(b []byte) error
type UUID ¶
type UUID struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UUID) Descriptor ¶
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) XXX_DiscardUnknown ¶
func (m *UUID) XXX_DiscardUnknown()
func (*UUID) XXX_Unmarshal ¶
type UnimplementedArticleServiceServer ¶
type UnimplementedArticleServiceServer struct { }
UnimplementedArticleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedArticleServiceServer) CreateArticle ¶
func (*UnimplementedArticleServiceServer) CreateArticle(ctx context.Context, req *CreateArticleRequest) (*CreateArticleResponse, error)
func (*UnimplementedArticleServiceServer) DeleteArticle ¶
func (*UnimplementedArticleServiceServer) DeleteArticle(ctx context.Context, req *DeleteArticleRequest) (*DeleteArticleResponse, error)
func (*UnimplementedArticleServiceServer) ListArticle ¶
func (*UnimplementedArticleServiceServer) ListArticle(ctx context.Context, req *ListArticleRequest) (*ListArticleResponse, error)
func (*UnimplementedArticleServiceServer) ShowArticle ¶
func (*UnimplementedArticleServiceServer) ShowArticle(ctx context.Context, req *ShowArticleRequest) (*ShowArticleResponse, error)
func (*UnimplementedArticleServiceServer) UpdateArticle ¶
func (*UnimplementedArticleServiceServer) UpdateArticle(ctx context.Context, req *UpdateArticleRequest) (*UpdateArticleResponse, error)
type UnimplementedCategoryServiceServer ¶
type UnimplementedCategoryServiceServer struct { }
UnimplementedCategoryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCategoryServiceServer) CreateCategory ¶
func (*UnimplementedCategoryServiceServer) CreateCategory(ctx context.Context, req *CreateCategoryRequest) (*CreateCategoryResponse, error)
func (*UnimplementedCategoryServiceServer) DeleteCategory ¶
func (*UnimplementedCategoryServiceServer) DeleteCategory(ctx context.Context, req *DeleteCategoryRequest) (*DeleteCategoryResponse, error)
func (*UnimplementedCategoryServiceServer) ListCategory ¶
func (*UnimplementedCategoryServiceServer) ListCategory(ctx context.Context, req *ListCategoryRequest) (*ListCategoryResponse, error)
func (*UnimplementedCategoryServiceServer) ShowCategory ¶
func (*UnimplementedCategoryServiceServer) ShowCategory(ctx context.Context, req *ShowCategoryRequest) (*ShowCategoryResponse, error)
func (*UnimplementedCategoryServiceServer) UpdateCategory ¶
func (*UnimplementedCategoryServiceServer) UpdateCategory(ctx context.Context, req *UpdateCategoryRequest) (*UpdateCategoryResponse, error)
type UpdateArticleRequest ¶
type UpdateArticleRequest struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateArticleRequest) Descriptor ¶
func (*UpdateArticleRequest) Descriptor() ([]byte, []int)
func (*UpdateArticleRequest) GetArticle ¶
func (m *UpdateArticleRequest) GetArticle() *Article
func (*UpdateArticleRequest) ProtoMessage ¶
func (*UpdateArticleRequest) ProtoMessage()
func (*UpdateArticleRequest) Reset ¶
func (m *UpdateArticleRequest) Reset()
func (*UpdateArticleRequest) String ¶
func (m *UpdateArticleRequest) String() string
func (*UpdateArticleRequest) XXX_DiscardUnknown ¶
func (m *UpdateArticleRequest) XXX_DiscardUnknown()
func (*UpdateArticleRequest) XXX_Marshal ¶
func (m *UpdateArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateArticleRequest) XXX_Merge ¶
func (m *UpdateArticleRequest) XXX_Merge(src proto.Message)
func (*UpdateArticleRequest) XXX_Size ¶
func (m *UpdateArticleRequest) XXX_Size() int
func (*UpdateArticleRequest) XXX_Unmarshal ¶
func (m *UpdateArticleRequest) XXX_Unmarshal(b []byte) error
type UpdateArticleResponse ¶
type UpdateArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateArticleResponse) Descriptor ¶
func (*UpdateArticleResponse) Descriptor() ([]byte, []int)
func (*UpdateArticleResponse) GetArticle ¶
func (m *UpdateArticleResponse) GetArticle() *Article
func (*UpdateArticleResponse) ProtoMessage ¶
func (*UpdateArticleResponse) ProtoMessage()
func (*UpdateArticleResponse) Reset ¶
func (m *UpdateArticleResponse) Reset()
func (*UpdateArticleResponse) String ¶
func (m *UpdateArticleResponse) String() string
func (*UpdateArticleResponse) XXX_DiscardUnknown ¶
func (m *UpdateArticleResponse) XXX_DiscardUnknown()
func (*UpdateArticleResponse) XXX_Marshal ¶
func (m *UpdateArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateArticleResponse) XXX_Merge ¶
func (m *UpdateArticleResponse) XXX_Merge(src proto.Message)
func (*UpdateArticleResponse) XXX_Size ¶
func (m *UpdateArticleResponse) XXX_Size() int
func (*UpdateArticleResponse) XXX_Unmarshal ¶
func (m *UpdateArticleResponse) XXX_Unmarshal(b []byte) error
type UpdateCategoryRequest ¶
type UpdateCategoryRequest struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateCategoryRequest) Descriptor ¶
func (*UpdateCategoryRequest) Descriptor() ([]byte, []int)
func (*UpdateCategoryRequest) GetCategory ¶
func (m *UpdateCategoryRequest) GetCategory() *Category
func (*UpdateCategoryRequest) ProtoMessage ¶
func (*UpdateCategoryRequest) ProtoMessage()
func (*UpdateCategoryRequest) Reset ¶
func (m *UpdateCategoryRequest) Reset()
func (*UpdateCategoryRequest) String ¶
func (m *UpdateCategoryRequest) String() string
func (*UpdateCategoryRequest) XXX_DiscardUnknown ¶
func (m *UpdateCategoryRequest) XXX_DiscardUnknown()
func (*UpdateCategoryRequest) XXX_Marshal ¶
func (m *UpdateCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCategoryRequest) XXX_Merge ¶
func (m *UpdateCategoryRequest) XXX_Merge(src proto.Message)
func (*UpdateCategoryRequest) XXX_Size ¶
func (m *UpdateCategoryRequest) XXX_Size() int
func (*UpdateCategoryRequest) XXX_Unmarshal ¶
func (m *UpdateCategoryRequest) XXX_Unmarshal(b []byte) error
type UpdateCategoryResponse ¶
type UpdateCategoryResponse struct { Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateCategoryResponse) Descriptor ¶
func (*UpdateCategoryResponse) Descriptor() ([]byte, []int)
func (*UpdateCategoryResponse) GetCategory ¶
func (m *UpdateCategoryResponse) GetCategory() *Category
func (*UpdateCategoryResponse) ProtoMessage ¶
func (*UpdateCategoryResponse) ProtoMessage()
func (*UpdateCategoryResponse) Reset ¶
func (m *UpdateCategoryResponse) Reset()
func (*UpdateCategoryResponse) String ¶
func (m *UpdateCategoryResponse) String() string
func (*UpdateCategoryResponse) XXX_DiscardUnknown ¶
func (m *UpdateCategoryResponse) XXX_DiscardUnknown()
func (*UpdateCategoryResponse) XXX_Marshal ¶
func (m *UpdateCategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCategoryResponse) XXX_Merge ¶
func (m *UpdateCategoryResponse) XXX_Merge(src proto.Message)
func (*UpdateCategoryResponse) XXX_Size ¶
func (m *UpdateCategoryResponse) XXX_Size() int
func (*UpdateCategoryResponse) XXX_Unmarshal ¶
func (m *UpdateCategoryResponse) XXX_Unmarshal(b []byte) error