backend

package
v0.0.0-...-8d6a06f Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmazonAPIGateway

type AmazonAPIGateway struct {
	// contains filtered or unexported fields
}

AmazonAPIGateway represents Amazon API Gateway implements Backend

func NewAmazonAPIGateway

func NewAmazonAPIGateway(region string) (*AmazonAPIGateway, error)

NewAmazonAPIGateway creates new AmazonAPIGateway object

func (*AmazonAPIGateway) ListEndpoints

func (g *AmazonAPIGateway) ListEndpoints(apiName string) ([]*model.Endpoint, error)

ListEndpoints returns the list of registered API endpoints

type Backend

type Backend interface {
	ListEndpoints(apiName string) ([]*model.Endpoint, error)
}

Backend represents the interface of real API Gateway

Jump to

Keyboard shortcuts

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