app

package
v0.0.0-...-4faaf65 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationSet = wire.NewSet(
	NewApplication,
	runtime.Set,
)

applicationSet is the Wire provider set for the Guestbook application that does not depend on the underlying platform.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name    string
	Version string
	Short   string
	Long    string
	Example string
	*runtime.Service
}

func Aws

func Aws(ctx context.Context, name string, endpoint2 endpoint.Endpoint, middleware endpoint.Middleware) (*Application, func(), error)

func Gcp

func Gcp(ctx context.Context, name string, endpoint2 endpoint.Endpoint, middleware endpoint.Middleware) (*Application, func(), error)

func Local

func Local(ctx context.Context, name string, endpoint2 endpoint.Endpoint, middleware endpoint.Middleware) (*Application, func(), error)

func NewApplication

func NewApplication(name string, service *runtime.Service) *Application

func (*Application) LoadECKeyFromFile

func (a *Application) LoadECKeyFromFile(fileName string) (*ecdsa.PrivateKey, error)

LoadECKeyFromFile loads EC key from unencrypted PEM file.

func (*Application) WalkProtoDir

func (a *Application) WalkProtoDir(d string) error

Jump to

Keyboard shortcuts

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