Documentation ¶
Index ¶
- type BlogServiceServer
- func (s *BlogServiceServer) Get(ctx context.Context, in *blog.GetReq) (*blog.Blog, error)
- func (s *BlogServiceServer) GetBlogUserInfos(ctx context.Context, in *blog.GetBlogUserInfosReq) (*blog.BlogUserInfos, error)
- func (s *BlogServiceServer) GetByUrl(ctx context.Context, in *blog.GetByUrlReq) (*blog.Blog, error)
- func (s *BlogServiceServer) GetPageViews(ctx context.Context, in *blog.GetPageViewsReq) (*blog.PageViews, error)
- func (s *BlogServiceServer) ListByUser(ctx context.Context, in *blog.ListByUserReq) (*blog.ListByUserResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlogServiceServer ¶
type BlogServiceServer struct { blog.UnimplementedBlogServiceServer // contains filtered or unexported fields }
func NewBlogServiceServer ¶
func NewBlogServiceServer(svcCtx *svc.ServiceContext) *BlogServiceServer
func (*BlogServiceServer) GetBlogUserInfos ¶
func (s *BlogServiceServer) GetBlogUserInfos(ctx context.Context, in *blog.GetBlogUserInfosReq) (*blog.BlogUserInfos, error)
func (*BlogServiceServer) GetByUrl ¶
func (s *BlogServiceServer) GetByUrl(ctx context.Context, in *blog.GetByUrlReq) (*blog.Blog, error)
func (*BlogServiceServer) GetPageViews ¶
func (s *BlogServiceServer) GetPageViews(ctx context.Context, in *blog.GetPageViewsReq) (*blog.PageViews, error)
func (*BlogServiceServer) ListByUser ¶
func (s *BlogServiceServer) ListByUser(ctx context.Context, in *blog.ListByUserReq) (*blog.ListByUserResp, error)
Click to show internal directories.
Click to hide internal directories.