Documentation ¶
Index ¶
- type Response
- type Responser
- type Router
- func (r *Router) Fail(err error) *Response
- func (r *Router) GetIllustHandler(c *gin.Context)
- func (r *Router) GetIllustsHandler(c *gin.Context)
- func (r *Router) GetRankHandler(c *gin.Context)
- func (r *Router) GetSampleIllustsHandler(c *gin.Context)
- func (r *Router) GetSampleUsersHandler(c *gin.Context)
- func (r *Router) GetUgoiraHandler(c *gin.Context)
- func (r *Router) GetUserDetailHandler(c *gin.Context)
- func (r *Router) GetUserIllustsHandler(c *gin.Context)
- func (r *Router) RecommendIllustsByIllustIdHandler(c *gin.Context)
- func (r *Router) SearchIllustByTagHandler(c *gin.Context)
- func (r *Router) SearchIllustHandler(c *gin.Context)
- func (r *Router) SearchIllustSuggestHandler(c *gin.Context)
- func (r *Router) SearchTagSuggestHandler(c *gin.Context)
- func (r *Router) SearchUserHandler(c *gin.Context)
- func (r *Router) SearchUserSuggestHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Responser ¶
type Responser struct {
// contains filtered or unexported fields
}
func NewResponser ¶
func NewResponser(addr string, dbops *operations.DatabaseOperations, mq models.MessageQueue, taskchaname string, retrys uint, tracer *tasktracer.TaskTracer, redis *drivers.RedisPool, debug bool) *Responser
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(dbops *operations.DatabaseOperations, mq models.MessageQueue, taskchaname string, retrys uint, tracer *tasktracer.TaskTracer, redis *drivers.RedisPool, debugflag bool) *Router
func (*Router) GetIllustHandler ¶
func (*Router) GetIllustsHandler ¶
func (*Router) GetRankHandler ¶
func (*Router) GetSampleIllustsHandler ¶
func (*Router) GetSampleUsersHandler ¶
func (*Router) GetUgoiraHandler ¶
func (*Router) GetUserDetailHandler ¶
func (*Router) GetUserIllustsHandler ¶
func (*Router) RecommendIllustsByIllustIdHandler ¶
func (*Router) SearchIllustByTagHandler ¶
func (*Router) SearchIllustHandler ¶
func (*Router) SearchIllustSuggestHandler ¶
func (*Router) SearchTagSuggestHandler ¶
func (*Router) SearchUserHandler ¶
func (*Router) SearchUserSuggestHandler ¶
Click to show internal directories.
Click to hide internal directories.