Documentation ¶
Index ¶
- func AnalyticsTokenRequired() gin.HandlerFunc
- func CreateAnalytic(c *gin.Context)
- func FilterOnTags(c *gin.Context) func(db *gorm.DB) *gorm.DB
- func GetAllCategories(c *gin.Context)
- func GetAllCategoryPosts(c *gin.Context)
- func GetAllPosts(c *gin.Context)
- func GetAllProviderPosts(c *gin.Context)
- func GetAllProviders(c *gin.Context)
- func Paginate(c *gin.Context) func(db *gorm.DB) *gorm.DB
- func RouterSetup()
- type CreateAnalyticRequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyticsTokenRequired ¶
func AnalyticsTokenRequired() gin.HandlerFunc
func CreateAnalytic ¶
func GetAllCategories ¶
func GetAllCategoryPosts ¶
func GetAllPosts ¶
func GetAllProviderPosts ¶
func GetAllProviders ¶
func RouterSetup ¶
func RouterSetup()
Types ¶
type CreateAnalyticRequestBody ¶
type CreateAnalyticRequestBody struct { Url string `json:"url" binding:"required"` RedirectCode string `json:"redirect_id" binding:"required"` Referer string `json:"referer"` UserAgent string `json:"user_agent" binding:"required"` Country string `json:"country" binding:"required,iso3166_1_alpha2"` }
Click to show internal directories.
Click to hide internal directories.