types

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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"`
	Provider string            `json:"provider"`
	Price    clienttypes.Coins `json:"price"`
	Validity time.Duration     `json:"validity"`
	Bytes    int64             `json:"bytes"`
	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