Documentation ¶
Index ¶
- func AdErrorResponse(err error) *gin.H
- func AdSuccessResponse(ad *ads.Ad) *gin.H
- func AdsSuccessResponse(ads *[]ads.Ad) *gin.H
- func AppRouter(r *gin.RouterGroup, a app.App)
- func CustomMW(c *gin.Context)
- func NewHTTPServer(port string, a app.App) *http.Server
- func UserErrorResponse(err error) *gin.H
- func UserSuccessResponse(user *users.User) *gin.H
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdErrorResponse ¶
func UserErrorResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.