rest

package
v0.0.0-...-31e10f1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountHandler

type AccountHandler interface {
	Verify(c *gin.Context)
	SignUp(c *gin.Context)
	Login(c *gin.Context)
	Refresh(c *gin.Context)
	EditUserProfile(c *gin.Context)
}

func NewAccountHandler

func NewAccountHandler(au usecase.AccountUseCase) AccountHandler

type ActionsHandler

type ActionsHandler interface {
	Like(c *gin.Context)
	Retweet(c *gin.Context)
	Reply(c *gin.Context)

	GetLikeUser(c *gin.Context)
	GetRetweetUser(c *gin.Context)
	GetReply(c *gin.Context)
}

func NewActionsHandler

func NewActionsHandler(au usecase.ActionsUseCase) ActionsHandler

type TweetHandler

type TweetHandler interface {
	Tweet(c *gin.Context)
	GetTweet(c *gin.Context)
	GetTweets(c *gin.Context)
	UpdateTweet(c *gin.Context)
}

func NewTweetHandler

func NewTweetHandler(tu usecase.TweetUseCase) TweetHandler

Jump to

Keyboard shortcuts

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