plan

package
v0.0.0-...-1ac23cf Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 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"`
	Provider string       `json:"provider"`
	Price    common.Coins `json:"price"`
	Validity int64        `json:"validity"`
	Bytes    int64        `json:"bytes"`
	Status   string       `json:"status"`
	StatusAt time.Time    `json:"status_at"`
}

func NewPlanFromRaw

func NewPlanFromRaw(item *plantypes.Plan) Plan

type Plans

type Plans []Plan

func NewPlansFromRaw

func NewPlansFromRaw(items plantypes.Plans) Plans

Jump to

Keyboard shortcuts

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