app

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	GetConfigProps() map[string]string
	NewGRPCConn(addr string) (*grpc.ClientConn, error)
	SetAuthFunc(func(context.Context) (context.Context, error))
	RegisterGRPCServer(func(*grpc.Server))
	Start()
}

App is the main entry of an application, which provides setup of the framework based on configuration

func New

func New(cfgName string) App

New creates an application instance

Jump to

Keyboard shortcuts

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