Documentation ¶
Index ¶
- func GenerateDomainCert(cfg *config.Config) (*tls.Certificate, error)
- func RegisterHandler(cfg *config.Config) *gin.Engine
- type AuthLogin
- type AuthLoginResponse
- type BlockList
- type CustomProperty
- type EmptyList
- type FollowTotalList
- type FriendList
- type Hunter
- type HunterInfo
- type HunterSaveResponse
- type HunterSyncResponse
- type HunterUpload
- type LobbyAutoJoin
- type ObtInfo
- type QA3
- type SignHeaders
- type SystemPkt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDomainCert ¶
func GenerateDomainCert(cfg *config.Config) (*tls.Certificate, error)
Types ¶
type AuthLoginResponse ¶
type CustomProperty ¶
type FollowTotalList ¶
type FollowTotalList struct { FollowList []interface{} `msgpack:"FollowList"` LastOperationId string `msgpack:"LastOperationId"` }
type FriendList ¶
type FriendList struct {
FriendList []interface{} `msgpack:"FriendList"`
}
type Hunter ¶
type Hunter struct { HunterSaveList []HunterInfo `msgpack:"HunterSaveList"` UsingSaveSlot int `msgpack:"UsingSaveSlot"` }
type HunterInfo ¶
type HunterSaveResponse ¶
type HunterSaveResponse struct { HunterInfo ShortId string `msgpack:"ShortId"` }
type HunterSyncResponse ¶
type HunterSyncResponse struct { InvalidSaveSlotInfoList interface{} `msgpack:"InvalidSaveSlotInfoList"` InvalidClientHunterIdList interface{} `msgpack:"InvalidClientHunterIdList"` SaveSlotInfoList []HunterSaveResponse `msgpack:"SaveSlotInfoList"` }
type HunterUpload ¶
type HunterUpload struct { UploadUrl string `msgpack:"UploadUrl"` SignedHeaders []SignHeaders `msgpack:"SignedHeaders"` }
type LobbyAutoJoin ¶
type LobbyAutoJoin struct {
Endpoints []string `msgpack:"Endpoints"`
}
type SignHeaders ¶
type SystemPkt ¶
type SystemPkt struct { ApiTimeout int `json:"api_timeout"` CustomProperty string `json:"custom_property"` JsonVer string `json:"json_ver"` MMR string `json:"mmr"` MTM string `json:"mtm"` MTMs string `json:"mtms"` NKM string `json:"nkm"` Revision string `json:"revision"` Selector string `json:"selector"` Title string `json:"title"` TMR string `json:"tmr"` WLT string `json:"wlt"` WorkingState string `json:"working_state"` }
Click to show internal directories.
Click to hide internal directories.