Documentation ¶
Index ¶
- Variables
- type Application
- func Aws(ctx context.Context, name string, endpoint2 endpoint.Endpoint, ...) (*Application, func(), error)
- func Gcp(ctx context.Context, name string, endpoint2 endpoint.Endpoint, ...) (*Application, func(), error)
- func Local(ctx context.Context, name string, endpoint2 endpoint.Endpoint, ...) (*Application, func(), error)
- func NewApplication(name string, service *runtime.Service) *Application
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
Click to show internal directories.
Click to hide internal directories.