Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountRouter ¶
func AccountRouter(svc *account.Service, r *gin.RouterGroup)
AccountRouter sets up all the controller functions to our router
func AuthRouter ¶
AuthRouter creates new auth http service
func UserRouter ¶
func UserRouter(svc *user.Service, r *gin.RouterGroup)
UserRouter declares the orutes for users router group
Types ¶
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
AccountService represents the account http service
Click to show internal directories.
Click to hide internal directories.