di

package
v0.0.0-...-fa62366 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(h http.Handler) http.HandlerFunc

Types

type App

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

func InitApp

func InitApp(config *conf.Config) (*App, func(), error)

func NewApp

func NewApp(config *conf.Config, svc *service.Service, g *grpc.Server, log zaplog.Logger) (app *App, closeFunc func(), err error)

func (*App) Log

func (app *App) Log() zaplog.Logger

Jump to

Keyboard shortcuts

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