Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdRunBlanket ¶
func CmdRunBlanket(url string)
Types ¶
type APIResponse ¶
type APIResponse struct {
Pagination Pagination `json:"pagination"`
}
type BalanceResponse ¶
type BalanceResponse struct {
Balance Balance `json:"balance"`
}
type Block ¶
type Block struct {
Header BlockHeader `json:"header"`
}
type BlockHeader ¶
type BlockHeader struct {
Height string `json:"height"`
}
type BlockResponse ¶
type BlockResponse struct {
Block Block `json:"block"`
}
type IndexResponse ¶
type IndexResponse struct {
Address string `json:"address"`
}
type Pagination ¶
type Pagination struct {
Count string `json:"total"`
}
type ParamResponse ¶
type ParamResponse struct {
Params Params `json:"params"`
}
type PriceResponse ¶
type PriceResponse struct {
Price float64 `json:"price"`
}
type SpaceResponse ¶
type SpaceResponse struct { TotalSpace int64 `json:"total_space"` UsedSpace int64 `json:"used_space"` FreeSpace int64 `json:"free_space"` }
func (*SpaceResponse) GetPercentUsed ¶
func (s *SpaceResponse) GetPercentUsed() int
Click to show internal directories.
Click to hide internal directories.