Documentation ¶
Index ¶
- func RegisterArticleServiceServer(s *grpc.Server, srv ArticleServiceServer)
- type AddArticleRequest
- func (*AddArticleRequest) Descriptor() ([]byte, []int)
- func (m *AddArticleRequest) GetArticleInfo() *ArticleInfo
- func (m *AddArticleRequest) GetUserID() string
- func (*AddArticleRequest) ProtoMessage()
- func (m *AddArticleRequest) Reset()
- func (m *AddArticleRequest) String() string
- func (m *AddArticleRequest) XXX_DiscardUnknown()
- func (m *AddArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddArticleRequest) XXX_Merge(src proto.Message)
- func (m *AddArticleRequest) XXX_Size() int
- func (m *AddArticleRequest) XXX_Unmarshal(b []byte) error
- type AddArticleResponse
- func (*AddArticleResponse) Descriptor() ([]byte, []int)
- func (m *AddArticleResponse) GetArticleID() string
- func (m *AddArticleResponse) GetCode() uint32
- func (m *AddArticleResponse) GetCodeMsg() string
- func (*AddArticleResponse) ProtoMessage()
- func (m *AddArticleResponse) Reset()
- func (m *AddArticleResponse) String() string
- func (m *AddArticleResponse) XXX_DiscardUnknown()
- func (m *AddArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddArticleResponse) XXX_Merge(src proto.Message)
- func (m *AddArticleResponse) XXX_Size() int
- func (m *AddArticleResponse) XXX_Unmarshal(b []byte) error
- type ArticleInfo
- func (*ArticleInfo) Descriptor() ([]byte, []int)
- func (m *ArticleInfo) GetArticleID() string
- func (m *ArticleInfo) GetContent() string
- func (m *ArticleInfo) GetTags() []string
- func (m *ArticleInfo) GetTitle() string
- func (*ArticleInfo) ProtoMessage()
- func (m *ArticleInfo) Reset()
- func (m *ArticleInfo) String() string
- func (m *ArticleInfo) XXX_DiscardUnknown()
- func (m *ArticleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArticleInfo) XXX_Merge(src proto.Message)
- func (m *ArticleInfo) XXX_Size() int
- func (m *ArticleInfo) XXX_Unmarshal(b []byte) error
- type ArticleServiceClient
- type ArticleServiceServer
- type DelArticleRequest
- func (*DelArticleRequest) Descriptor() ([]byte, []int)
- func (m *DelArticleRequest) GetArticleID() string
- func (*DelArticleRequest) ProtoMessage()
- func (m *DelArticleRequest) Reset()
- func (m *DelArticleRequest) String() string
- func (m *DelArticleRequest) XXX_DiscardUnknown()
- func (m *DelArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelArticleRequest) XXX_Merge(src proto.Message)
- func (m *DelArticleRequest) XXX_Size() int
- func (m *DelArticleRequest) XXX_Unmarshal(b []byte) error
- type DelArticleResponse
- func (*DelArticleResponse) Descriptor() ([]byte, []int)
- func (m *DelArticleResponse) GetCode() uint32
- func (m *DelArticleResponse) GetCodeMsg() string
- func (*DelArticleResponse) ProtoMessage()
- func (m *DelArticleResponse) Reset()
- func (m *DelArticleResponse) String() string
- func (m *DelArticleResponse) XXX_DiscardUnknown()
- func (m *DelArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelArticleResponse) XXX_Merge(src proto.Message)
- func (m *DelArticleResponse) XXX_Size() int
- func (m *DelArticleResponse) XXX_Unmarshal(b []byte) error
- type GetArticleListRequest
- func (*GetArticleListRequest) Descriptor() ([]byte, []int)
- func (m *GetArticleListRequest) GetLastArticleID() int64
- func (m *GetArticleListRequest) GetNumPerPage() int64
- func (m *GetArticleListRequest) GetPage() int64
- func (*GetArticleListRequest) ProtoMessage()
- func (m *GetArticleListRequest) Reset()
- func (m *GetArticleListRequest) String() string
- func (m *GetArticleListRequest) XXX_DiscardUnknown()
- func (m *GetArticleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetArticleListRequest) XXX_Merge(src proto.Message)
- func (m *GetArticleListRequest) XXX_Size() int
- func (m *GetArticleListRequest) XXX_Unmarshal(b []byte) error
- type GetArticleListResponse
- func (*GetArticleListResponse) Descriptor() ([]byte, []int)
- func (m *GetArticleListResponse) GetArticleInfos() []*ArticleInfo
- func (m *GetArticleListResponse) GetCode() uint32
- func (m *GetArticleListResponse) GetCodeMsg() string
- func (*GetArticleListResponse) ProtoMessage()
- func (m *GetArticleListResponse) Reset()
- func (m *GetArticleListResponse) String() string
- func (m *GetArticleListResponse) XXX_DiscardUnknown()
- func (m *GetArticleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetArticleListResponse) XXX_Merge(src proto.Message)
- func (m *GetArticleListResponse) XXX_Size() int
- func (m *GetArticleListResponse) XXX_Unmarshal(b []byte) error
- type GetArticleRequest
- func (*GetArticleRequest) Descriptor() ([]byte, []int)
- func (m *GetArticleRequest) GetArticleID() string
- func (*GetArticleRequest) ProtoMessage()
- func (m *GetArticleRequest) Reset()
- func (m *GetArticleRequest) String() string
- func (m *GetArticleRequest) XXX_DiscardUnknown()
- func (m *GetArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetArticleRequest) XXX_Merge(src proto.Message)
- func (m *GetArticleRequest) XXX_Size() int
- func (m *GetArticleRequest) XXX_Unmarshal(b []byte) error
- type GetArticleResponse
- func (*GetArticleResponse) Descriptor() ([]byte, []int)
- func (m *GetArticleResponse) GetArticleInfo() *ArticleInfo
- func (m *GetArticleResponse) GetCode() uint32
- func (m *GetArticleResponse) GetCodeMsg() string
- func (*GetArticleResponse) ProtoMessage()
- func (m *GetArticleResponse) Reset()
- func (m *GetArticleResponse) String() string
- func (m *GetArticleResponse) XXX_DiscardUnknown()
- func (m *GetArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetArticleResponse) XXX_Merge(src proto.Message)
- func (m *GetArticleResponse) XXX_Size() int
- func (m *GetArticleResponse) XXX_Unmarshal(b []byte) error
- type ModifyArticleInfoRequest
- func (*ModifyArticleInfoRequest) Descriptor() ([]byte, []int)
- func (m *ModifyArticleInfoRequest) GetArticleInfo() *ArticleInfo
- func (*ModifyArticleInfoRequest) ProtoMessage()
- func (m *ModifyArticleInfoRequest) Reset()
- func (m *ModifyArticleInfoRequest) String() string
- func (m *ModifyArticleInfoRequest) XXX_DiscardUnknown()
- func (m *ModifyArticleInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyArticleInfoRequest) XXX_Merge(src proto.Message)
- func (m *ModifyArticleInfoRequest) XXX_Size() int
- func (m *ModifyArticleInfoRequest) XXX_Unmarshal(b []byte) error
- type ModifyArticleInfoResponse
- func (*ModifyArticleInfoResponse) Descriptor() ([]byte, []int)
- func (m *ModifyArticleInfoResponse) GetCode() uint32
- func (m *ModifyArticleInfoResponse) GetCodeMsg() string
- func (*ModifyArticleInfoResponse) ProtoMessage()
- func (m *ModifyArticleInfoResponse) Reset()
- func (m *ModifyArticleInfoResponse) String() string
- func (m *ModifyArticleInfoResponse) XXX_DiscardUnknown()
- func (m *ModifyArticleInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyArticleInfoResponse) XXX_Merge(src proto.Message)
- func (m *ModifyArticleInfoResponse) XXX_Size() int
- func (m *ModifyArticleInfoResponse) 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)
Types ¶
type AddArticleRequest ¶
type AddArticleRequest struct { ArticleInfo *ArticleInfo `protobuf:"bytes,1,opt,name=articleInfo,proto3" json:"articleInfo,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddArticleRequest) Descriptor ¶
func (*AddArticleRequest) Descriptor() ([]byte, []int)
func (*AddArticleRequest) GetArticleInfo ¶
func (m *AddArticleRequest) GetArticleInfo() *ArticleInfo
func (*AddArticleRequest) GetUserID ¶
func (m *AddArticleRequest) GetUserID() string
func (*AddArticleRequest) ProtoMessage ¶
func (*AddArticleRequest) ProtoMessage()
func (*AddArticleRequest) Reset ¶
func (m *AddArticleRequest) Reset()
func (*AddArticleRequest) String ¶
func (m *AddArticleRequest) String() string
func (*AddArticleRequest) XXX_DiscardUnknown ¶
func (m *AddArticleRequest) XXX_DiscardUnknown()
func (*AddArticleRequest) XXX_Marshal ¶
func (m *AddArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddArticleRequest) XXX_Merge ¶
func (m *AddArticleRequest) XXX_Merge(src proto.Message)
func (*AddArticleRequest) XXX_Size ¶
func (m *AddArticleRequest) XXX_Size() int
func (*AddArticleRequest) XXX_Unmarshal ¶
func (m *AddArticleRequest) XXX_Unmarshal(b []byte) error
type AddArticleResponse ¶
type AddArticleResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` CodeMsg string `protobuf:"bytes,2,opt,name=codeMsg,proto3" json:"codeMsg,omitempty"` ArticleID string `protobuf:"bytes,3,opt,name=articleID,proto3" json:"articleID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddArticleResponse) Descriptor ¶
func (*AddArticleResponse) Descriptor() ([]byte, []int)
func (*AddArticleResponse) GetArticleID ¶
func (m *AddArticleResponse) GetArticleID() string
func (*AddArticleResponse) GetCode ¶
func (m *AddArticleResponse) GetCode() uint32
func (*AddArticleResponse) GetCodeMsg ¶
func (m *AddArticleResponse) GetCodeMsg() string
func (*AddArticleResponse) ProtoMessage ¶
func (*AddArticleResponse) ProtoMessage()
func (*AddArticleResponse) Reset ¶
func (m *AddArticleResponse) Reset()
func (*AddArticleResponse) String ¶
func (m *AddArticleResponse) String() string
func (*AddArticleResponse) XXX_DiscardUnknown ¶
func (m *AddArticleResponse) XXX_DiscardUnknown()
func (*AddArticleResponse) XXX_Marshal ¶
func (m *AddArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddArticleResponse) XXX_Merge ¶
func (m *AddArticleResponse) XXX_Merge(src proto.Message)
func (*AddArticleResponse) XXX_Size ¶
func (m *AddArticleResponse) XXX_Size() int
func (*AddArticleResponse) XXX_Unmarshal ¶
func (m *AddArticleResponse) XXX_Unmarshal(b []byte) error
type ArticleInfo ¶
type ArticleInfo struct { ArticleID string `protobuf:"bytes,1,opt,name=articleID,proto3" json:"articleID,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArticleInfo) Descriptor ¶
func (*ArticleInfo) Descriptor() ([]byte, []int)
func (*ArticleInfo) GetArticleID ¶
func (m *ArticleInfo) GetArticleID() string
func (*ArticleInfo) GetContent ¶
func (m *ArticleInfo) GetContent() string
func (*ArticleInfo) GetTags ¶
func (m *ArticleInfo) GetTags() []string
func (*ArticleInfo) GetTitle ¶
func (m *ArticleInfo) GetTitle() string
func (*ArticleInfo) ProtoMessage ¶
func (*ArticleInfo) ProtoMessage()
func (*ArticleInfo) Reset ¶
func (m *ArticleInfo) Reset()
func (*ArticleInfo) String ¶
func (m *ArticleInfo) String() string
func (*ArticleInfo) XXX_DiscardUnknown ¶
func (m *ArticleInfo) XXX_DiscardUnknown()
func (*ArticleInfo) XXX_Marshal ¶
func (m *ArticleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArticleInfo) XXX_Merge ¶
func (m *ArticleInfo) XXX_Merge(src proto.Message)
func (*ArticleInfo) XXX_Size ¶
func (m *ArticleInfo) XXX_Size() int
func (*ArticleInfo) XXX_Unmarshal ¶
func (m *ArticleInfo) XXX_Unmarshal(b []byte) error
type ArticleServiceClient ¶
type ArticleServiceClient interface { AddArticle(ctx context.Context, in *AddArticleRequest, opts ...grpc.CallOption) (*AddArticleResponse, error) GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error) GetArticleList(ctx context.Context, in *GetArticleListRequest, opts ...grpc.CallOption) (*GetArticleListResponse, error) DelArticle(ctx context.Context, in *DelArticleRequest, opts ...grpc.CallOption) (*DelArticleResponse, error) ModifyArticleInfo(ctx context.Context, in *ModifyArticleInfoRequest, opts ...grpc.CallOption) (*ModifyArticleInfoResponse, 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 { AddArticle(context.Context, *AddArticleRequest) (*AddArticleResponse, error) GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error) GetArticleList(context.Context, *GetArticleListRequest) (*GetArticleListResponse, error) DelArticle(context.Context, *DelArticleRequest) (*DelArticleResponse, error) ModifyArticleInfo(context.Context, *ModifyArticleInfoRequest) (*ModifyArticleInfoResponse, error) }
ArticleServiceServer is the server API for ArticleService service.
type DelArticleRequest ¶
type DelArticleRequest struct { ArticleID string `protobuf:"bytes,1,opt,name=articleID,proto3" json:"articleID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelArticleRequest) Descriptor ¶
func (*DelArticleRequest) Descriptor() ([]byte, []int)
func (*DelArticleRequest) GetArticleID ¶
func (m *DelArticleRequest) GetArticleID() string
func (*DelArticleRequest) ProtoMessage ¶
func (*DelArticleRequest) ProtoMessage()
func (*DelArticleRequest) Reset ¶
func (m *DelArticleRequest) Reset()
func (*DelArticleRequest) String ¶
func (m *DelArticleRequest) String() string
func (*DelArticleRequest) XXX_DiscardUnknown ¶
func (m *DelArticleRequest) XXX_DiscardUnknown()
func (*DelArticleRequest) XXX_Marshal ¶
func (m *DelArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelArticleRequest) XXX_Merge ¶
func (m *DelArticleRequest) XXX_Merge(src proto.Message)
func (*DelArticleRequest) XXX_Size ¶
func (m *DelArticleRequest) XXX_Size() int
func (*DelArticleRequest) XXX_Unmarshal ¶
func (m *DelArticleRequest) XXX_Unmarshal(b []byte) error
type DelArticleResponse ¶
type DelArticleResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` CodeMsg string `protobuf:"bytes,2,opt,name=codeMsg,proto3" json:"codeMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelArticleResponse) Descriptor ¶
func (*DelArticleResponse) Descriptor() ([]byte, []int)
func (*DelArticleResponse) GetCode ¶
func (m *DelArticleResponse) GetCode() uint32
func (*DelArticleResponse) GetCodeMsg ¶
func (m *DelArticleResponse) GetCodeMsg() string
func (*DelArticleResponse) ProtoMessage ¶
func (*DelArticleResponse) ProtoMessage()
func (*DelArticleResponse) Reset ¶
func (m *DelArticleResponse) Reset()
func (*DelArticleResponse) String ¶
func (m *DelArticleResponse) String() string
func (*DelArticleResponse) XXX_DiscardUnknown ¶
func (m *DelArticleResponse) XXX_DiscardUnknown()
func (*DelArticleResponse) XXX_Marshal ¶
func (m *DelArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelArticleResponse) XXX_Merge ¶
func (m *DelArticleResponse) XXX_Merge(src proto.Message)
func (*DelArticleResponse) XXX_Size ¶
func (m *DelArticleResponse) XXX_Size() int
func (*DelArticleResponse) XXX_Unmarshal ¶
func (m *DelArticleResponse) XXX_Unmarshal(b []byte) error
type GetArticleListRequest ¶
type GetArticleListRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` NumPerPage int64 `protobuf:"varint,2,opt,name=numPerPage,proto3" json:"numPerPage,omitempty"` LastArticleID int64 `protobuf:"varint,3,opt,name=lastArticleID,proto3" json:"lastArticleID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetArticleListRequest) Descriptor ¶
func (*GetArticleListRequest) Descriptor() ([]byte, []int)
func (*GetArticleListRequest) GetLastArticleID ¶
func (m *GetArticleListRequest) GetLastArticleID() int64
func (*GetArticleListRequest) GetNumPerPage ¶
func (m *GetArticleListRequest) GetNumPerPage() int64
func (*GetArticleListRequest) GetPage ¶
func (m *GetArticleListRequest) GetPage() int64
func (*GetArticleListRequest) ProtoMessage ¶
func (*GetArticleListRequest) ProtoMessage()
func (*GetArticleListRequest) Reset ¶
func (m *GetArticleListRequest) Reset()
func (*GetArticleListRequest) String ¶
func (m *GetArticleListRequest) String() string
func (*GetArticleListRequest) XXX_DiscardUnknown ¶
func (m *GetArticleListRequest) XXX_DiscardUnknown()
func (*GetArticleListRequest) XXX_Marshal ¶
func (m *GetArticleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetArticleListRequest) XXX_Merge ¶
func (m *GetArticleListRequest) XXX_Merge(src proto.Message)
func (*GetArticleListRequest) XXX_Size ¶
func (m *GetArticleListRequest) XXX_Size() int
func (*GetArticleListRequest) XXX_Unmarshal ¶
func (m *GetArticleListRequest) XXX_Unmarshal(b []byte) error
type GetArticleListResponse ¶
type GetArticleListResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` CodeMsg string `protobuf:"bytes,2,opt,name=codeMsg,proto3" json:"codeMsg,omitempty"` ArticleInfos []*ArticleInfo `protobuf:"bytes,3,rep,name=articleInfos,proto3" json:"articleInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetArticleListResponse) Descriptor ¶
func (*GetArticleListResponse) Descriptor() ([]byte, []int)
func (*GetArticleListResponse) GetArticleInfos ¶
func (m *GetArticleListResponse) GetArticleInfos() []*ArticleInfo
func (*GetArticleListResponse) GetCode ¶
func (m *GetArticleListResponse) GetCode() uint32
func (*GetArticleListResponse) GetCodeMsg ¶
func (m *GetArticleListResponse) GetCodeMsg() string
func (*GetArticleListResponse) ProtoMessage ¶
func (*GetArticleListResponse) ProtoMessage()
func (*GetArticleListResponse) Reset ¶
func (m *GetArticleListResponse) Reset()
func (*GetArticleListResponse) String ¶
func (m *GetArticleListResponse) String() string
func (*GetArticleListResponse) XXX_DiscardUnknown ¶
func (m *GetArticleListResponse) XXX_DiscardUnknown()
func (*GetArticleListResponse) XXX_Marshal ¶
func (m *GetArticleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetArticleListResponse) XXX_Merge ¶
func (m *GetArticleListResponse) XXX_Merge(src proto.Message)
func (*GetArticleListResponse) XXX_Size ¶
func (m *GetArticleListResponse) XXX_Size() int
func (*GetArticleListResponse) XXX_Unmarshal ¶
func (m *GetArticleListResponse) XXX_Unmarshal(b []byte) error
type GetArticleRequest ¶
type GetArticleRequest struct { ArticleID string `protobuf:"bytes,1,opt,name=articleID,proto3" json:"articleID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetArticleRequest) Descriptor ¶
func (*GetArticleRequest) Descriptor() ([]byte, []int)
func (*GetArticleRequest) GetArticleID ¶
func (m *GetArticleRequest) GetArticleID() string
func (*GetArticleRequest) ProtoMessage ¶
func (*GetArticleRequest) ProtoMessage()
func (*GetArticleRequest) Reset ¶
func (m *GetArticleRequest) Reset()
func (*GetArticleRequest) String ¶
func (m *GetArticleRequest) String() string
func (*GetArticleRequest) XXX_DiscardUnknown ¶
func (m *GetArticleRequest) XXX_DiscardUnknown()
func (*GetArticleRequest) XXX_Marshal ¶
func (m *GetArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetArticleRequest) XXX_Merge ¶
func (m *GetArticleRequest) XXX_Merge(src proto.Message)
func (*GetArticleRequest) XXX_Size ¶
func (m *GetArticleRequest) XXX_Size() int
func (*GetArticleRequest) XXX_Unmarshal ¶
func (m *GetArticleRequest) XXX_Unmarshal(b []byte) error
type GetArticleResponse ¶
type GetArticleResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` CodeMsg string `protobuf:"bytes,2,opt,name=codeMsg,proto3" json:"codeMsg,omitempty"` ArticleInfo *ArticleInfo `protobuf:"bytes,3,opt,name=articleInfo,proto3" json:"articleInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetArticleResponse) Descriptor ¶
func (*GetArticleResponse) Descriptor() ([]byte, []int)
func (*GetArticleResponse) GetArticleInfo ¶
func (m *GetArticleResponse) GetArticleInfo() *ArticleInfo
func (*GetArticleResponse) GetCode ¶
func (m *GetArticleResponse) GetCode() uint32
func (*GetArticleResponse) GetCodeMsg ¶
func (m *GetArticleResponse) GetCodeMsg() string
func (*GetArticleResponse) ProtoMessage ¶
func (*GetArticleResponse) ProtoMessage()
func (*GetArticleResponse) Reset ¶
func (m *GetArticleResponse) Reset()
func (*GetArticleResponse) String ¶
func (m *GetArticleResponse) String() string
func (*GetArticleResponse) XXX_DiscardUnknown ¶
func (m *GetArticleResponse) XXX_DiscardUnknown()
func (*GetArticleResponse) XXX_Marshal ¶
func (m *GetArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetArticleResponse) XXX_Merge ¶
func (m *GetArticleResponse) XXX_Merge(src proto.Message)
func (*GetArticleResponse) XXX_Size ¶
func (m *GetArticleResponse) XXX_Size() int
func (*GetArticleResponse) XXX_Unmarshal ¶
func (m *GetArticleResponse) XXX_Unmarshal(b []byte) error
type ModifyArticleInfoRequest ¶
type ModifyArticleInfoRequest struct { ArticleInfo *ArticleInfo `protobuf:"bytes,1,opt,name=articleInfo,proto3" json:"articleInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyArticleInfoRequest) Descriptor ¶
func (*ModifyArticleInfoRequest) Descriptor() ([]byte, []int)
func (*ModifyArticleInfoRequest) GetArticleInfo ¶
func (m *ModifyArticleInfoRequest) GetArticleInfo() *ArticleInfo
func (*ModifyArticleInfoRequest) ProtoMessage ¶
func (*ModifyArticleInfoRequest) ProtoMessage()
func (*ModifyArticleInfoRequest) Reset ¶
func (m *ModifyArticleInfoRequest) Reset()
func (*ModifyArticleInfoRequest) String ¶
func (m *ModifyArticleInfoRequest) String() string
func (*ModifyArticleInfoRequest) XXX_DiscardUnknown ¶
func (m *ModifyArticleInfoRequest) XXX_DiscardUnknown()
func (*ModifyArticleInfoRequest) XXX_Marshal ¶
func (m *ModifyArticleInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyArticleInfoRequest) XXX_Merge ¶
func (m *ModifyArticleInfoRequest) XXX_Merge(src proto.Message)
func (*ModifyArticleInfoRequest) XXX_Size ¶
func (m *ModifyArticleInfoRequest) XXX_Size() int
func (*ModifyArticleInfoRequest) XXX_Unmarshal ¶
func (m *ModifyArticleInfoRequest) XXX_Unmarshal(b []byte) error
type ModifyArticleInfoResponse ¶
type ModifyArticleInfoResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` CodeMsg string `protobuf:"bytes,2,opt,name=codeMsg,proto3" json:"codeMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyArticleInfoResponse) Descriptor ¶
func (*ModifyArticleInfoResponse) Descriptor() ([]byte, []int)
func (*ModifyArticleInfoResponse) GetCode ¶
func (m *ModifyArticleInfoResponse) GetCode() uint32
func (*ModifyArticleInfoResponse) GetCodeMsg ¶
func (m *ModifyArticleInfoResponse) GetCodeMsg() string
func (*ModifyArticleInfoResponse) ProtoMessage ¶
func (*ModifyArticleInfoResponse) ProtoMessage()
func (*ModifyArticleInfoResponse) Reset ¶
func (m *ModifyArticleInfoResponse) Reset()
func (*ModifyArticleInfoResponse) String ¶
func (m *ModifyArticleInfoResponse) String() string
func (*ModifyArticleInfoResponse) XXX_DiscardUnknown ¶
func (m *ModifyArticleInfoResponse) XXX_DiscardUnknown()
func (*ModifyArticleInfoResponse) XXX_Marshal ¶
func (m *ModifyArticleInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyArticleInfoResponse) XXX_Merge ¶
func (m *ModifyArticleInfoResponse) XXX_Merge(src proto.Message)
func (*ModifyArticleInfoResponse) XXX_Size ¶
func (m *ModifyArticleInfoResponse) XXX_Size() int
func (*ModifyArticleInfoResponse) XXX_Unmarshal ¶
func (m *ModifyArticleInfoResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.