plan

package
v0.0.0-...-19c687c Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppPlan     = PlanType("app")
	ServicePlan = PlanType("service")
)

Variables

This section is empty.

Functions

func Save

func Save(plan PlanCost) (bool, error)

Types

type PlanCost

type PlanCost struct {
	Service     string
	Plan        string
	Type        PlanType
	Cost        float64
	MeasureUnit string
}

func ListAppsCosts

func ListAppsCosts() ([]PlanCost, error)

func ListCosts

func ListCosts() ([]PlanCost, error)

func ListServicesCosts

func ListServicesCosts() ([]PlanCost, error)

type PlanType

type PlanType string

Jump to

Keyboard shortcuts

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