Documentation ¶
Index ¶
- type BlogClient
- func (c *BlogClient) CreateBlog(ctx context.Context, in *blog.CreateBlogRequest) (*blog.Blog, error)
- func (c *BlogClient) DeleteBlog(ctx context.Context, in *blog.DeleteBlogRequest) (*blog.Blog, error)
- func (c *BlogClient) DescribeBlog(ctx context.Context, in *blog.DescribeBlogRequest) (*blog.Blog, error)
- func (c *BlogClient) QueryBlog(ctx context.Context, in *blog.QueryBlogRequest) (*blog.BlogSet, error)
- func (c *BlogClient) UpdateBlog(ctx context.Context, in *blog.UpdateBlogRequest) (*blog.Blog, error)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlogClient ¶
type BlogClient struct {
// contains filtered or unexported fields
}
func (*BlogClient) CreateBlog ¶
func (c *BlogClient) CreateBlog(ctx context.Context, in *blog.CreateBlogRequest) (*blog.Blog, error)
接口一定要保证很强一个兼容性
func (*BlogClient) DeleteBlog ¶
func (c *BlogClient) DeleteBlog(ctx context.Context, in *blog.DeleteBlogRequest) (*blog.Blog, error)
删除文章, 返回删除的对象, 用前端提升, 用于对象最终
func (*BlogClient) DescribeBlog ¶
func (c *BlogClient) DescribeBlog(ctx context.Context, in *blog.DescribeBlogRequest) (*blog.Blog, error)
查询单个文章
func (*BlogClient) QueryBlog ¶
func (c *BlogClient) QueryBlog(ctx context.Context, in *blog.QueryBlogRequest) (*blog.BlogSet, error)
查询文章列表
func (*BlogClient) UpdateBlog ¶
func (c *BlogClient) UpdateBlog(ctx context.Context, in *blog.UpdateBlogRequest) (*blog.Blog, error)
更新文章
Click to show internal directories.
Click to hide internal directories.