api_service

package
v0.0.0-...-fff97c9 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowController

type FlowController struct {
	// contains filtered or unexported fields
}

func NewFlowController

func NewFlowController() *FlowController

func (FlowController) AddComment

func (u FlowController) AddComment(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) AddNote

func (u FlowController) AddNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) DelNote

func (u FlowController) DelNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) GetCommentList

func (u FlowController) GetCommentList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) GetNoteDetail

func (u FlowController) GetNoteDetail(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) GetNoteList

func (u FlowController) GetNoteList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) GetUserNotes

func (u FlowController) GetUserNotes(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

func (FlowController) LikeNote

func (u FlowController) LikeNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

type IFlowController

type IFlowController interface {
	AddNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	GetUserNotes(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	GetNoteList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	GetNoteDetail(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	DelNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	LikeNote(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

	AddComment(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
	GetCommentList(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
}

type IUserController

type IUserController interface {
	Login(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)
}

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

func NewUserController

func NewUserController() *UserController

func (UserController) Login

func (u UserController) Login(ctx *beanctx.BizContext) (interface{}, *beanerr.BizError)

Jump to

Keyboard shortcuts

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