googleAPI

package
v0.0.0-...-41bbbd1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Google

type Google struct {
}

func (Google) Availability

func (Google) Availability() (available bool, err error)

func (Google) GetFile

func (Google) GetFile(fileName string, path string) (base64File string, err error)

func (Google) List

func (Google) List(path string) (files []cloudLib.CloudFile, err error)

func (Google) Price

func (Google) Price(size float64) (price float64, err error)

func (Google) SendFile

func (Google) SendFile(base64File string, fileName string, remotePath string) (createdFile cloudLib.CloudFile, err error)

type JsonGoogleCloud

type JsonGoogleCloud struct {
	Sku []Sku `json:"skus"`
}

type PricingExpression

type PricingExpression struct {
	TieredRates []TieredRate `json:"tieredRates"`
}

type PricingInfo

type PricingInfo struct {
	PriceExpression PricingExpression `json:"pricingExpression"`
}

type Sku

type Sku struct {
	Name        string        `json:"name"`
	PricingInfo []PricingInfo `json:"pricingInfo"`
}

type TieredRate

type TieredRate struct {
	UnitPrice UnitPrice `json:"unitPrice"`
}

type UnitPrice

type UnitPrice struct {
	Units string `json:"units"`
	Nanos int    `json:"nanos"`
}

Jump to

Keyboard shortcuts

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