Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachTagsRequest ¶
type CreateTagRequest ¶
type CreateTagRequest struct {
Name string `json:"name" binding:"required"`
}
type DeveloperController ¶ added in v0.5.0
type DeveloperController struct {
// contains filtered or unexported fields
}
func NewDeveloperController ¶ added in v0.5.0
func NewDeveloperController(dr *model.DeveloperRepo) *DeveloperController
func (*DeveloperController) Get ¶ added in v0.5.0
func (dc *DeveloperController) Get(c *gin.Context)
func (*DeveloperController) GetTrendingDevelopers ¶ added in v0.5.0
func (dc *DeveloperController) GetTrendingDevelopers(c *gin.Context)
type LoginRequest ¶
type RepositoryController ¶
type RepositoryController struct {
// contains filtered or unexported fields
}
func NewRepositoryController ¶
func NewRepositoryController(grr *model.GhRepositoryRepo) *RepositoryController
func (*RepositoryController) Get ¶
func (rc *RepositoryController) Get(c *gin.Context)
func (*RepositoryController) GetTrendingRepositories ¶
func (rc *RepositoryController) GetTrendingRepositories(c *gin.Context)
func (*RepositoryController) List ¶
func (rc *RepositoryController) List(c *gin.Context)
func (*RepositoryController) SaveTags ¶
func (rc *RepositoryController) SaveTags(c *gin.Context)
type SearchController ¶
type SearchController struct {
// contains filtered or unexported fields
}
func NewSearchController ¶
func NewSearchController() *SearchController
func (*SearchController) Search ¶
func (search *SearchController) Search(c *gin.Context)
type SecurityController ¶
type SecurityController struct {
// contains filtered or unexported fields
}
func NewSecurityController ¶
func NewSecurityController(ur *model.UserRepo) *SecurityController
func (*SecurityController) Login ¶
func (sc *SecurityController) Login(c *gin.Context)
type StatsController ¶
type StatsController struct {
// contains filtered or unexported fields
}
func NewStatsController ¶
func NewStatsController(sr *model.StatsRepo) *StatsController
func (*StatsController) GetTrendingTopicsStats ¶
func (sc *StatsController) GetTrendingTopicsStats(c *gin.Context)
type TagController ¶
type TagController struct {
// contains filtered or unexported fields
}
func NewTagController ¶
func NewTagController(tr *model.TagRepo) *TagController
func (*TagController) List ¶
func (tc *TagController) List(c *gin.Context)
func (*TagController) Save ¶
func (tc *TagController) Save(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.