middle

package
v0.0.0-...-053e4fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlogByIdHttpHandler

func GetBlogByIdHttpHandler() func(w http.ResponseWriter, r *http.Request)

func GetBlogsByTIDAndUIDHttpHandler

func GetBlogsByTIDAndUIDHttpHandler() func(w http.ResponseWriter, r *http.Request)

func GetBlogsByUidHttpHandler

func GetBlogsByUidHttpHandler() func(w http.ResponseWriter, r *http.Request)

func GetCommentListByBIDHttpHandler

func GetCommentListByBIDHttpHandler() func(w http.ResponseWriter, r *http.Request)

func GetTagsByUIDHttpHandler

func GetTagsByUIDHttpHandler() func(w http.ResponseWriter, r *http.Request)

Handler transform

func GetUserHttpHandler

func GetUserHttpHandler() func(w http.ResponseWriter, r *http.Request)

Types

type BlogService

type BlogService struct {
}

func (*BlogService) GetBlogById

func (this *BlogService) GetBlogById(ctx context.Context, i *rpc.Intreq) (r *rpc.Blog, err error)

func (*BlogService) GetBlogsByTIDAndUID

func (this *BlogService) GetBlogsByTIDAndUID(ctx context.Context, i *rpc.Int2req) (r []*rpc.Blog, err error)

func (*BlogService) GetBlogsByUid

func (this *BlogService) GetBlogsByUid(ctx context.Context, i *rpc.Intreq) (r []*rpc.Blog, err error)

type CommentService

type CommentService struct {
}

func (*CommentService) GetCommentListByBID

func (this *CommentService) GetCommentListByBID(ctx context.Context, i *rpc.Intreq) (r []*rpc.Comment, err error)

type TagService

type TagService struct {
}

func (*TagService) GetTagsByUID

func (this *TagService) GetTagsByUID(ctx context.Context, i *rpc.Intreq) (r []*rpc.Tag, err error)

type UserService

type UserService struct {
}

func (*UserService) GetUserInfo

func (this *UserService) GetUserInfo(ctx context.Context, s *rpc.Stringreq) (r *rpc.User, err error)

thrift service func implement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL