blanket

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 16 Imported by: 0

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 Balance

type Balance struct {
	Denom  string `json:"denom"`
	Amount string `json:"amount"`
}

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 Params

type Params struct {
	ProofWindow string `json:"proof_window"`
}

type PriceResponse

type PriceResponse struct {
	Price float64 `json:"price"`
}

type Provider

type Provider struct {
	BurnedContracts string `json:"burned_contracts"`
}

type Providers

type Providers struct {
	Providers Provider `json:"providers"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL