Documentation
¶
Index ¶
- type Bid
- type BidId
- type BidPrice
- type BidWrapper
- type Bids
- type BidsSliceWrapper
- type Deployment
- type DeploymentId
- type DeploymentInfo
- type DeploymentResponse
- type EscrowAccount
- type EscrowAccountBalance
- type Provider
- type Transaction
- type TransactionEvent
- type TransactionEventAttribute
- type TransactionEventAttributes
- type TransactionLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BidWrapper ¶
type BidWrapper struct {
Bid Bid `json:"bid"`
}
type Bids ¶
type Bids []Bid
func (Bids) FindAllByProviders ¶
FindAllByProviders finds all the Bid structures that have any of the given providers. It returns a slice of all the Bid structures where the providers were found.
func (Bids) FindByProvider ¶
func (Bids) GetProviderAddresses ¶
type BidsSliceWrapper ¶
type BidsSliceWrapper struct {
BidWrappers []BidWrapper `json:"bids"`
}
type Deployment ¶
type Deployment struct { DeploymentInfo DeploymentInfo `json:"deployment"` EscrowAccount EscrowAccount `json:"escrow_account"` }
type DeploymentId ¶
type DeploymentInfo ¶
type DeploymentInfo struct { State string `json:"state"` DeploymentId DeploymentId `json:"deployment_id"` }
type DeploymentResponse ¶
type DeploymentResponse struct {
Deployments []Deployment `json:"deployments"`
}
type EscrowAccount ¶
type EscrowAccount struct { Owner string `json:"owner"` State string `json:"state"` Balance EscrowAccountBalance `json:"balance"` }
type EscrowAccountBalance ¶
type Transaction ¶
type Transaction struct { Height string `json:"height"` Logs []TransactionLog `json:"logs"` RawLog string `json:"raw_log"` }
type TransactionEvent ¶
type TransactionEvent struct { Type string `json:"type"` Attributes TransactionEventAttributes `json:"attributes"` }
type TransactionEventAttributes ¶
type TransactionEventAttributes []TransactionEventAttribute
type TransactionLog ¶
type TransactionLog struct {
Events []TransactionEvent `json:"events"`
}
Click to show internal directories.
Click to hide internal directories.