controller

package
v0.0.0-...-23502e9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentController

type CommentController struct {
	CommentUsecase domain.CommentUsecase
}

func (*CommentController) Create

func (col *CommentController) Create(c *gin.Context)

func (*CommentController) Delete

func (col *CommentController) Delete(c *gin.Context)

func (*CommentController) FindTop

func (col *CommentController) FindTop(c *gin.Context)

type FeedController

type FeedController struct {
	domain.FeedUsecase
}

func (*FeedController) Feed

func (f *FeedController) Feed(c *gin.Context)

type FileController

type FileController struct {
	FileUsecase domain.FileUsecase
}

func (*FileController) FileList

func (col *FileController) FileList(c *gin.Context)

func (*FileController) Upload

func (col *FileController) Upload(c *gin.Context)

func (*FileController) Uploads

func (col *FileController) Uploads(c *gin.Context)

type LoginController

type LoginController struct {
	LoginUsecase domain.LoginUsecase
	Env          *bootstrap.Env
}

func (*LoginController) Login

func (col *LoginController) Login(c *gin.Context)

type PostController

func (*PostController) Collect

func (col *PostController) Collect(c *gin.Context)

func (*PostController) CreateOrPublish

func (col *PostController) CreateOrPublish(c *gin.Context)

func (*PostController) Info

func (col *PostController) Info(c *gin.Context)

func (*PostController) Like

func (col *PostController) Like(c *gin.Context)

func (*PostController) Rank

func (col *PostController) Rank(c *gin.Context)

func (*PostController) ReaderList

func (col *PostController) ReaderList(c *gin.Context)

func (*PostController) WriterList

func (col *PostController) WriterList(c *gin.Context)

type RankController

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

func (*RankController) GetTopN

func (col *RankController) GetTopN(c *gin.Context)

type RefreshTokenController

type RefreshTokenController struct {
	RefreshTokenUsecase domain.RefreshTokenUsecase
	UserUsecase         domain.UserUsecase
	Env                 *bootstrap.Env
}

func (*RefreshTokenController) RefreshToken

func (col *RefreshTokenController) RefreshToken(c *gin.Context)

type RelationController

type RelationController struct {
	RelationUsecase domain.RelationUsecase
}

func (*RelationController) CancelFollow

func (col *RelationController) CancelFollow(c *gin.Context)

func (*RelationController) Follow

func (col *RelationController) Follow(c *gin.Context)

func (*RelationController) FolloweeList

func (col *RelationController) FolloweeList(c *gin.Context)

func (*RelationController) FollowerList

func (col *RelationController) FollowerList(c *gin.Context)

func (*RelationController) Stat

func (col *RelationController) Stat(c *gin.Context)

type SignupController

type SignupController struct {
	SignupUsecase domain.SignupUsecase
	Env           *bootstrap.Env
}

func (*SignupController) Signup

func (sc *SignupController) Signup(c *gin.Context)

type TagController

type TagController struct {
	TagUsecase domain.TagUsecase
}

func (*TagController) CreateTag

func (col *TagController) CreateTag(c *gin.Context)

func (*TagController) CreateTagBiz

func (col *TagController) CreateTagBiz(c *gin.Context)

func (*TagController) GetTagsByBiz

func (col *TagController) GetTagsByBiz(c *gin.Context)

func (*TagController) GetTagsByUserID

func (col *TagController) GetTagsByUserID(c *gin.Context)

type TaskController

type TaskController struct {
	TaskUsecase domain.TaskUsecase
}

func (*TaskController) Create

func (col *TaskController) Create(c *gin.Context)

func (*TaskController) Delete

func (col *TaskController) Delete(c *gin.Context)

type UserController

type UserController struct {
	UserUsecase domain.UserUsecase
	Env         *bootstrap.Env
}

func (*UserController) Fetch

func (col *UserController) Fetch(c *gin.Context)

func (*UserController) Logout

func (col *UserController) Logout(c *gin.Context)

func (*UserController) Update

func (col *UserController) Update(c *gin.Context)

Jump to

Keyboard shortcuts

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