google

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Name string
}

type APIService

type APIService interface {
	Enable([]API) ([]API, error)
}

func NewAPIService

func NewAPIService(logger *log.Logger, projectId string, client *http.Client) (APIService, error)

type Quota

type Quota struct {
	Name  string
	Limit float64
}

type QuotaService

type QuotaService interface {
	Project() (map[string]Quota, error)
	Region(string) (map[string]Quota, error)
}

func NewQuotaService

func NewQuotaService(logger *log.Logger, projectId string, client *http.Client) (QuotaService, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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