Documentation ¶
Index ¶
Constants ¶
View Source
const COSMETICS_CACHE_LIFETIME = time.Hour
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
func (*Route) Handler ¶
Get Cosmetics @Summary Get Cosmetics @Description Get all active cosmetics and the users assigned to them @Tags cosmetics @Param user_identifier query string false "one of 'object_id', 'twitch_id' or 'login'" @Produce json @Success 200 {object} model.CosmeticsMap @Router /cosmetics [get]
Click to show internal directories.
Click to hide internal directories.