Versions in this module Expand all Collapse all v0 v0.1.0 Jul 25, 2019 Changes in this version + func RegisterBlogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterBlogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlogServiceClient) error + func RegisterBlogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterBlogServiceServer(s *grpc.Server, srv BlogServiceServer) + type Blog struct + CreatedAt *timestamp.Timestamp + CreatorId string + Description string + Id string + Title string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Blog) Descriptor() ([]byte, []int) + func (*Blog) ProtoMessage() + func (m *Blog) GetCreatedAt() *timestamp.Timestamp + func (m *Blog) GetCreatorId() string + func (m *Blog) GetDescription() string + func (m *Blog) GetId() string + func (m *Blog) GetTitle() string + func (m *Blog) Reset() + func (m *Blog) String() string + func (m *Blog) XXX_DiscardUnknown() + func (m *Blog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Blog) XXX_Merge(src proto.Message) + func (m *Blog) XXX_Size() int + func (m *Blog) XXX_Unmarshal(b []byte) error + type BlogServiceClient interface + CreateBlog func(ctx context.Context, in *CreateBlogRequest, opts ...grpc.CallOption) (*CreateBlogResponse, error) + CreateComment func(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*CreateCommentResponse, error) + DeleteBlog func(ctx context.Context, in *DeleteBlogRequest, opts ...grpc.CallOption) (*DeleteBlogResponse, error) + DeleteComment func(ctx context.Context, in *DeleteCommentRequest, opts ...grpc.CallOption) (*DeleteCommentResponse, error) + ReadAllBlog func(ctx context.Context, in *ReadAllBlogRequest, opts ...grpc.CallOption) (*ReadAllBlogResponse, error) + ReadAllComment func(ctx context.Context, in *ReadAllCommentRequest, opts ...grpc.CallOption) (*ReadAllCommentResponse, error) + ReadBlog func(ctx context.Context, in *ReadBlogRequest, opts ...grpc.CallOption) (*ReadBlogResponse, error) + func NewBlogServiceClient(cc *grpc.ClientConn) BlogServiceClient + type BlogServiceServer interface + CreateBlog func(context.Context, *CreateBlogRequest) (*CreateBlogResponse, error) + CreateComment func(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error) + DeleteBlog func(context.Context, *DeleteBlogRequest) (*DeleteBlogResponse, error) + DeleteComment func(context.Context, *DeleteCommentRequest) (*DeleteCommentResponse, error) + ReadAllBlog func(context.Context, *ReadAllBlogRequest) (*ReadAllBlogResponse, error) + ReadAllComment func(context.Context, *ReadAllCommentRequest) (*ReadAllCommentResponse, error) + ReadBlog func(context.Context, *ReadBlogRequest) (*ReadBlogResponse, error) + type Comment struct + Content string + CreatedAt *timestamp.Timestamp + CreatorId string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Comment) Descriptor() ([]byte, []int) + func (*Comment) ProtoMessage() + func (m *Comment) GetContent() string + func (m *Comment) GetCreatedAt() *timestamp.Timestamp + func (m *Comment) GetCreatorId() string + func (m *Comment) GetId() string + func (m *Comment) Reset() + func (m *Comment) String() string + func (m *Comment) XXX_DiscardUnknown() + func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Comment) XXX_Merge(src proto.Message) + func (m *Comment) XXX_Size() int + func (m *Comment) XXX_Unmarshal(b []byte) error + type CreateBlogRequest struct + Api string + Blog *Blog + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateBlogRequest) Descriptor() ([]byte, []int) + func (*CreateBlogRequest) ProtoMessage() + func (m *CreateBlogRequest) GetApi() string + func (m *CreateBlogRequest) GetBlog() *Blog + func (m *CreateBlogRequest) Reset() + func (m *CreateBlogRequest) String() string + func (m *CreateBlogRequest) XXX_DiscardUnknown() + func (m *CreateBlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateBlogRequest) XXX_Merge(src proto.Message) + func (m *CreateBlogRequest) XXX_Size() int + func (m *CreateBlogRequest) XXX_Unmarshal(b []byte) error + type CreateBlogResponse struct + Api string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateBlogResponse) Descriptor() ([]byte, []int) + func (*CreateBlogResponse) ProtoMessage() + func (m *CreateBlogResponse) GetApi() string + func (m *CreateBlogResponse) GetId() string + func (m *CreateBlogResponse) Reset() + func (m *CreateBlogResponse) String() string + func (m *CreateBlogResponse) XXX_DiscardUnknown() + func (m *CreateBlogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateBlogResponse) XXX_Merge(src proto.Message) + func (m *CreateBlogResponse) XXX_Size() int + func (m *CreateBlogResponse) XXX_Unmarshal(b []byte) error + type CreateCommentRequest struct + Api string + Comment *Comment + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateCommentRequest) Descriptor() ([]byte, []int) + func (*CreateCommentRequest) ProtoMessage() + func (m *CreateCommentRequest) GetApi() string + func (m *CreateCommentRequest) GetComment() *Comment + func (m *CreateCommentRequest) Reset() + func (m *CreateCommentRequest) String() string + func (m *CreateCommentRequest) XXX_DiscardUnknown() + func (m *CreateCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateCommentRequest) XXX_Merge(src proto.Message) + func (m *CreateCommentRequest) XXX_Size() int + func (m *CreateCommentRequest) XXX_Unmarshal(b []byte) error + type CreateCommentResponse struct + Api string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateCommentResponse) Descriptor() ([]byte, []int) + func (*CreateCommentResponse) ProtoMessage() + func (m *CreateCommentResponse) GetApi() string + func (m *CreateCommentResponse) GetId() string + func (m *CreateCommentResponse) Reset() + func (m *CreateCommentResponse) String() string + func (m *CreateCommentResponse) XXX_DiscardUnknown() + func (m *CreateCommentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateCommentResponse) XXX_Merge(src proto.Message) + func (m *CreateCommentResponse) XXX_Size() int + func (m *CreateCommentResponse) XXX_Unmarshal(b []byte) error + type DeleteBlogRequest struct + Api string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteBlogRequest) Descriptor() ([]byte, []int) + func (*DeleteBlogRequest) ProtoMessage() + func (m *DeleteBlogRequest) GetApi() string + func (m *DeleteBlogRequest) GetId() string + func (m *DeleteBlogRequest) Reset() + func (m *DeleteBlogRequest) String() string + func (m *DeleteBlogRequest) XXX_DiscardUnknown() + func (m *DeleteBlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteBlogRequest) XXX_Merge(src proto.Message) + func (m *DeleteBlogRequest) XXX_Size() int + func (m *DeleteBlogRequest) XXX_Unmarshal(b []byte) error + type DeleteBlogResponse struct + Api string + Deleted int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteBlogResponse) Descriptor() ([]byte, []int) + func (*DeleteBlogResponse) ProtoMessage() + func (m *DeleteBlogResponse) GetApi() string + func (m *DeleteBlogResponse) GetDeleted() int64 + func (m *DeleteBlogResponse) Reset() + func (m *DeleteBlogResponse) String() string + func (m *DeleteBlogResponse) XXX_DiscardUnknown() + func (m *DeleteBlogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteBlogResponse) XXX_Merge(src proto.Message) + func (m *DeleteBlogResponse) XXX_Size() int + func (m *DeleteBlogResponse) XXX_Unmarshal(b []byte) error + type DeleteCommentRequest struct + Api string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteCommentRequest) Descriptor() ([]byte, []int) + func (*DeleteCommentRequest) ProtoMessage() + func (m *DeleteCommentRequest) GetApi() string + func (m *DeleteCommentRequest) GetId() string + func (m *DeleteCommentRequest) Reset() + func (m *DeleteCommentRequest) String() string + func (m *DeleteCommentRequest) XXX_DiscardUnknown() + func (m *DeleteCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteCommentRequest) XXX_Merge(src proto.Message) + func (m *DeleteCommentRequest) XXX_Size() int + func (m *DeleteCommentRequest) XXX_Unmarshal(b []byte) error + type DeleteCommentResponse struct + Api string + Deleted int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteCommentResponse) Descriptor() ([]byte, []int) + func (*DeleteCommentResponse) ProtoMessage() + func (m *DeleteCommentResponse) GetApi() string + func (m *DeleteCommentResponse) GetDeleted() int64 + func (m *DeleteCommentResponse) Reset() + func (m *DeleteCommentResponse) String() string + func (m *DeleteCommentResponse) XXX_DiscardUnknown() + func (m *DeleteCommentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteCommentResponse) XXX_Merge(src proto.Message) + func (m *DeleteCommentResponse) XXX_Size() int + func (m *DeleteCommentResponse) XXX_Unmarshal(b []byte) error + type ReadAllBlogRequest struct + Api string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadAllBlogRequest) Descriptor() ([]byte, []int) + func (*ReadAllBlogRequest) ProtoMessage() + func (m *ReadAllBlogRequest) GetApi() string + func (m *ReadAllBlogRequest) Reset() + func (m *ReadAllBlogRequest) String() string + func (m *ReadAllBlogRequest) XXX_DiscardUnknown() + func (m *ReadAllBlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadAllBlogRequest) XXX_Merge(src proto.Message) + func (m *ReadAllBlogRequest) XXX_Size() int + func (m *ReadAllBlogRequest) XXX_Unmarshal(b []byte) error + type ReadAllBlogResponse struct + Api string + Blogs []*Blog + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadAllBlogResponse) Descriptor() ([]byte, []int) + func (*ReadAllBlogResponse) ProtoMessage() + func (m *ReadAllBlogResponse) GetApi() string + func (m *ReadAllBlogResponse) GetBlogs() []*Blog + func (m *ReadAllBlogResponse) Reset() + func (m *ReadAllBlogResponse) String() string + func (m *ReadAllBlogResponse) XXX_DiscardUnknown() + func (m *ReadAllBlogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadAllBlogResponse) XXX_Merge(src proto.Message) + func (m *ReadAllBlogResponse) XXX_Size() int + func (m *ReadAllBlogResponse) XXX_Unmarshal(b []byte) error + type ReadAllCommentRequest struct + Api string + BlogId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadAllCommentRequest) Descriptor() ([]byte, []int) + func (*ReadAllCommentRequest) ProtoMessage() + func (m *ReadAllCommentRequest) GetApi() string + func (m *ReadAllCommentRequest) GetBlogId() string + func (m *ReadAllCommentRequest) Reset() + func (m *ReadAllCommentRequest) String() string + func (m *ReadAllCommentRequest) XXX_DiscardUnknown() + func (m *ReadAllCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadAllCommentRequest) XXX_Merge(src proto.Message) + func (m *ReadAllCommentRequest) XXX_Size() int + func (m *ReadAllCommentRequest) XXX_Unmarshal(b []byte) error + type ReadAllCommentResponse struct + Api string + Comments []*Comment + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadAllCommentResponse) Descriptor() ([]byte, []int) + func (*ReadAllCommentResponse) ProtoMessage() + func (m *ReadAllCommentResponse) GetApi() string + func (m *ReadAllCommentResponse) GetComments() []*Comment + func (m *ReadAllCommentResponse) Reset() + func (m *ReadAllCommentResponse) String() string + func (m *ReadAllCommentResponse) XXX_DiscardUnknown() + func (m *ReadAllCommentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadAllCommentResponse) XXX_Merge(src proto.Message) + func (m *ReadAllCommentResponse) XXX_Size() int + func (m *ReadAllCommentResponse) XXX_Unmarshal(b []byte) error + type ReadBlogRequest struct + Api string + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadBlogRequest) Descriptor() ([]byte, []int) + func (*ReadBlogRequest) ProtoMessage() + func (m *ReadBlogRequest) GetApi() string + func (m *ReadBlogRequest) GetId() string + func (m *ReadBlogRequest) Reset() + func (m *ReadBlogRequest) String() string + func (m *ReadBlogRequest) XXX_DiscardUnknown() + func (m *ReadBlogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadBlogRequest) XXX_Merge(src proto.Message) + func (m *ReadBlogRequest) XXX_Size() int + func (m *ReadBlogRequest) XXX_Unmarshal(b []byte) error + type ReadBlogResponse struct + Api string + Blogs *Blog + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadBlogResponse) Descriptor() ([]byte, []int) + func (*ReadBlogResponse) ProtoMessage() + func (m *ReadBlogResponse) GetApi() string + func (m *ReadBlogResponse) GetBlogs() *Blog + func (m *ReadBlogResponse) Reset() + func (m *ReadBlogResponse) String() string + func (m *ReadBlogResponse) XXX_DiscardUnknown() + func (m *ReadBlogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadBlogResponse) XXX_Merge(src proto.Message) + func (m *ReadBlogResponse) XXX_Size() int + func (m *ReadBlogResponse) XXX_Unmarshal(b []byte) error