Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidTopCexInRequest = errors.New("invalid cex in request") ErrInvalidTopCexOutRequest = errors.New("invalid cex out request") ErrInvalidTopNetInRequest = errors.New("invalid net in request") ErrInvalidTopNetOutRequest = errors.New("invalid net out request") ErrInvalidTopUserProfitRequest = errors.New("invalid user profit request") ErrInvalidTopTokenProfitRequest = errors.New("invalid token profit request") ErrInvalidTokenInspect = errors.New("invalid token inspect") ErrInvalidUserInspect = errors.New("invalid user inspect") ErrInvalidDuration = errors.New("invalid duration") ErrInvalidListToken = errors.New("invalid get list token") ErrInvalidListUser = errors.New("invalid get list user") ErrInvalidGetActivities = errors.New("invalid get activities") )
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Addr string `json:"address"` Value float64 `json:"value"` Symbol string `json:"symbol,omitempty"` Network string `json:"network,omitempty"` CurrentPrice float64 `json:"current_price,omitempty"` // user for token only ImageUrl string `json:"image_url,omitempty"` // user for token only }
type GetActivitiesRequest ¶ added in v0.0.4
type GetTokenProfitRequest ¶
type GetTokenProfitRes ¶ added in v0.0.2
type GetUserProfitRequest ¶
type ListTokenRequest ¶
type ListTokenRequest struct {
Chain string `form:"chain" binding:"required"`
}
type ListUserRequest ¶
type ListUserRequest struct {
Chain string `form:"chain" binding:"required"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server to serve the service.
type TokenInspect ¶
type TopCexInRequest ¶
type TopCexOutRequest ¶
type UserInspect ¶
Click to show internal directories.
Click to hide internal directories.