Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateReqBody ¶
type AuthenticateRespBody ¶
type AuthenticateRespBody struct { Token string `json:"token"` UserInfo struct { Address string `json:"address"` TestnetXP int `json:"testnetXP"` HasClaimedPoints bool `json:"hasClaimedPoints"` PointsClaimed string `json:"pointsClaimed"` TradesMade int `json:"tradesMade"` VolumeTraded string `json:"volumeTraded"` RoyaltiesPaid string `json:"royaltiesPaid"` TopPercent float64 `json:"topPercent"` Rank int `json:"rank"` TotalAllocation int `json:"totalAllocation"` } `json:"userInfo"` }
type ClaimRespBody ¶
type ClaimRespBody struct {
Message string `json:"message"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Authenticate ¶
func (c *Client) Authenticate(reqBody *AuthenticateReqBody) (*AuthenticateRespBody, error)
type UserRespBody ¶
type UserRespBody struct { Address string `json:"address"` TestnetXP int `json:"testnetXP"` HasClaimedPoints bool `json:"hasClaimedPoints"` PointsClaimed string `json:"pointsClaimed"` TradesMade int `json:"tradesMade"` VolumeTraded string `json:"volumeTraded"` RoyaltiesPaid string `json:"royaltiesPaid"` TopPercent float64 `json:"topPercent"` Rank int `json:"rank"` TotalAllocation int `json:"totalAllocation"` }
Click to show internal directories.
Click to hide internal directories.