Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinerDesc ¶
type MinerDesc struct { PoolAddr string `json:"pool_addr"` SubAddr string `json:"sub_addr"` PayerAddr string `json:"payer_addr"` HopBalance string `json:"hop_balance"` Traffic string `json:"traffic"` GTN string `json:"gtn"` Zone string `json:"zone"` Ip string `json:"ip"` }
func GetMinerDetail ¶
type MinerUserInfo ¶
type Request ¶
type Request struct { AccessToken string `json:"access_token"` Data interface{} `json:"data,omitempty"` }
type SigVerification ¶
type SigVerification struct { }
func (*SigVerification) ServeHTTP ¶
func (sv *SigVerification) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UserListInfo ¶
type UserListInfo struct { Count int `json:"count"` PageSize int `json:"page_size"` PageNum int `json:"page_num"` Users []*MinerUserInfo `json:"users"` }
type UserReqParam ¶
type UsersCountInMiner ¶
type UsersCountInMiner struct { }
func (*UsersCountInMiner) ServeHTTP ¶
func (ucm *UsersCountInMiner) ServeHTTP(w http.ResponseWriter, r *http.Request)
type UsersInfoInMiner ¶
type UsersInfoInMiner struct { }
func (*UsersInfoInMiner) ServeHTTP ¶
func (uim *UsersInfoInMiner) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ValidSigResult ¶
type WebAccessToken ¶
type WebAccessToken struct { }
func (*WebAccessToken) ServeHTTP ¶
func (wat *WebAccessToken) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.