Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBlog ¶
func RegisterBlog(i IBlog)
Types ¶
type IBlog ¶
type IBlog interface { Create(ctx context.Context, title string, content string, nickname string) (blog *entity.Blog, err error) Edit(ctx context.Context, id uint64, title string, content string, nickname string) (err error) GetById(ctx context.Context, id uint64) (blog *entity.Blog, err error) GetList(ctx context.Context) (list []*entity.Blog, err error) Delete(ctx context.Context, id uint64) (err error) BatDelete(ctx context.Context, ids []uint64) (batNo string, err error) GetBatDeleteStatus(ctx context.Context, batNo string) (status string, err error) BatDeleteConsumer(ctx context.Context, parser *gcmd.Parser) (stopFunc func(), err error) Stats(ctx context.Context, param *xxl.RunReq) (msg string) }
Click to show internal directories.
Click to hide internal directories.