Documentation ¶
Index ¶
- type BlogHandler
- func (b *BlogHandler) CreateBlog(ctx context.Context, in *blog.CreateBlogRequest) (*blog.CreateBlogResponse, error)
- func (b *BlogHandler) DeleteBlog(ctx context.Context, in *blog.DeleteBlogRequest) (*emptypb.Empty, error)
- func (b *BlogHandler) ReadBlog(ctx context.Context, in *blog.ReadBlogRequest) (*blog.ReadBlogResponse, error)
- func (b *BlogHandler) UpdateBlog(ctx context.Context, in *blog.UpdateBlogRequest) (*blog.UpdateBlogResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlogHandler ¶
type BlogHandler struct{}
func NewBlogHandler ¶
func NewBlogHandler() *BlogHandler
func (*BlogHandler) CreateBlog ¶
func (b *BlogHandler) CreateBlog(ctx context.Context, in *blog.CreateBlogRequest) (*blog.CreateBlogResponse, error)
CreateBlog implements blog.BlogServiceHTTPServer.
func (*BlogHandler) DeleteBlog ¶
func (b *BlogHandler) DeleteBlog(ctx context.Context, in *blog.DeleteBlogRequest) (*emptypb.Empty, error)
DeleteBlog implements blog.BlogServiceHTTPServer.
func (*BlogHandler) ReadBlog ¶
func (b *BlogHandler) ReadBlog(ctx context.Context, in *blog.ReadBlogRequest) (*blog.ReadBlogResponse, error)
ReadBlog implements blog.BlogServiceHTTPServer.
func (*BlogHandler) UpdateBlog ¶
func (b *BlogHandler) UpdateBlog(ctx context.Context, in *blog.UpdateBlogRequest) (*blog.UpdateBlogResponse, error)
UpdateBlog implements blog.BlogServiceHTTPServer.
Click to show internal directories.
Click to hide internal directories.