Documentation ¶ Index ¶ func New(gCtx global.Context) rest.Route type Route func (r *Route) Config() rest.RouteConfig func (r *Route) Handler(ctx *rest.Ctx) errors.APIError Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(gCtx global.Context) rest.Route Types ¶ type Route ¶ type Route struct { Ctx global.Context } func (*Route) Config ¶ func (r *Route) Config() rest.RouteConfig func (*Route) Handler ¶ func (r *Route) Handler(ctx *rest.Ctx) errors.APIError Get User @Summary Get User @Description Finds a user by its ID, Username or Twitch ID @Tags users @Param user path string false "User ID, Username or Twitch ID" @Produce json @Success 200 {object} model.User @Router /users/{user} [get] Source Files ¶ View all Source files user.emotes.go user.go Click to show internal directories. Click to hide internal directories.