Documentation ¶
Index ¶
- type Error
- type ReturnedCharacter
- type ReturnedEncounter
- type ReturnedEncounterShort
- type ReturnedEncounterShorts
- type ReturnedProfile
- type ReturnedRaidStats
- type ReturnedSettings
- type ReturnedTokenUser
- type ReturnedUser
- type Server
- type ServerConfig
- type SessionUser
- type UpdateLogSettingsBody
- type UpdateLogSettingsParams
- type UploadResponse
- type UserProfileParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReturnedCharacter ¶
type ReturnedEncounter ¶
type ReturnedEncounter struct { ReturnedEncounterShort Thumbnail bool `json:"thumbnail"` Data structs.EncounterData `json:"data"` }
type ReturnedEncounterShort ¶
type ReturnedEncounterShort struct { Uploader *ReturnedUser `json:"uploader"` ID int32 `json:"id"` Difficulty string `json:"difficulty"` Boss string `json:"boss"` Date int64 `json:"date"` Duration int32 `json:"duration"` LocalPlayer string `json:"localPlayer"` Anonymized bool `json:"anonymized"` Actual bool `json:"actual"` Place int32 `json:"place"` Visibility *structs.EncounterVisibility `json:"visibility"` structs.EncounterHeader }
func (*ReturnedEncounterShort) Anonymize ¶
func (enc *ReturnedEncounterShort) Anonymize(order map[string]string, character string, visibility int)
func (*ReturnedEncounterShort) Order ¶
func (enc *ReturnedEncounterShort) Order() map[string]string
type ReturnedEncounterShorts ¶
type ReturnedEncounterShorts struct { Encounters []ReturnedEncounterShort `json:"encounters"` More bool `json:"more"` }
type ReturnedProfile ¶
type ReturnedProfile struct {
Characters []ReturnedCharacter `json:"characters"`
}
type ReturnedRaidStats ¶
type ReturnedSettings ¶
type ReturnedSettings struct { HasToken bool `json:"hasToken"` EncounterVisibility *structs.EncounterVisibility `json:"logVisibility"` }
type ReturnedTokenUser ¶
type ReturnedUser ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(conf *ServerConfig) *Server
type ServerConfig ¶
type SessionUser ¶
type UpdateLogSettingsBody ¶
type UpdateLogSettingsBody struct {
Names int `json:"names"`
}
type UpdateLogSettingsParams ¶
type UpdateLogSettingsParams struct {
Log int32 `uri:"log" binding:"required"`
}
type UploadResponse ¶
type UploadResponse struct {
ID int32 `json:"id"`
}
type UserProfileParams ¶
type UserProfileParams struct {
Username string `uri:"username" binding:"required"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.