types

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	ID        uint64            `json:"id"`
	Address   string            `json:"address"`
	Prices    clienttypes.Coins `json:"prices"`
	Duration  time.Duration     `json:"duration"`
	Gigabytes int64             `json:"gigabytes"`
	Status    string            `json:"status"`
	StatusAt  time.Time         `json:"status_at"`
}

func NewPlanFromRaw

func NewPlanFromRaw(v *plantypes.Plan) Plan

type Plans

type Plans []Plan

func NewPlansFromRaw

func NewPlansFromRaw(v plantypes.Plans) Plans

Jump to

Keyboard shortcuts

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