Documentation ¶
Index ¶
- Constants
- func JSON(c *fiber.Ctx) error
- func ParseCharacterID(s string) (model.CharacterID, error)
- func ParseCollectionType(s string) (model.CollectionType, error)
- func ParseEpisodeID(s string) (model.EpisodeID, error)
- func ParseIndexID(s string) (model.IndexID, error)
- func ParsePersonID(s string) (model.PersonID, error)
- func ParseSubjectID(s string) (model.SubjectID, error)
- func ParseSubjectType(s string) (model.SubjectType, error)
- func ParseTopicID(s string) (model.TopicID, error)
- type CreatePersonalAccessToken
- type DeletePersonalAccessToken
- type PageQuery
- type RevokeSession
- type UserLogin
Constants ¶
View Source
const DefaultMaxPageLimit = 100
View Source
const DefaultPageLimit = 30
View Source
const HeaderCFRay = "Cf-Ray"
Variables ¶
This section is empty.
Functions ¶
func ParseCharacterID ¶ added in v0.22.1
func ParseCharacterID(s string) (model.CharacterID, error)
func ParseCollectionType ¶ added in v0.22.1
func ParseCollectionType(s string) (model.CollectionType, error)
func ParseSubjectType ¶ added in v0.22.1
func ParseSubjectType(s string) (model.SubjectType, error)
Types ¶
type CreatePersonalAccessToken ¶ added in v0.18.0
type DeletePersonalAccessToken ¶ added in v0.18.0
type DeletePersonalAccessToken struct {
ID uint32 `json:"id" validate:"required"`
}
type PageQuery ¶ added in v0.22.2
func GetPageQuery ¶ added in v0.22.2
type RevokeSession ¶
type RevokeSession struct {
UID uint32 `validate:"required,gt=0" json:"uid"`
}
Click to show internal directories.
Click to hide internal directories.