Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Quota ¶
type Quota struct { Address string `json:"address"` Consumed int64 `json:"consumed"` Allocated int64 `json:"allocated"` }
func NewQuotaFromRaw ¶
func NewQuotaFromRaw(v *subscriptiontypes.Quota) Quota
type Quotas ¶
type Quotas []Quota
func NewQuotasFromRaw ¶
func NewQuotasFromRaw(v subscriptiontypes.Quotas) Quotas
type Subscription ¶
type Subscription struct { ID uint64 `json:"id"` Owner string `json:"owner"` Plan uint64 `json:"plan"` Expiry time.Time `json:"expiry"` Denom string `json:"denom"` Node string `json:"node"` Price clienttypes.Coin `json:"price"` Deposit clienttypes.Coin `json:"deposit"` Free int64 `json:"free"` Status string `json:"status"` StatusAt time.Time `json:"status_at"` }
func NewSubscriptionFromRaw ¶
func NewSubscriptionFromRaw(v *subscriptiontypes.Subscription) Subscription
type Subscriptions ¶
type Subscriptions []Subscription
func NewSubscriptionsFromRaw ¶
func NewSubscriptionsFromRaw(v subscriptiontypes.Subscriptions) Subscriptions
Click to show internal directories.
Click to hide internal directories.