app

package
v0.0.0-...-51001cb Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 25 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 struct {
	MuxRouter *api.MuxRouter
	Logger    *zap.SugaredLogger

	GrpcControllerImpl *api.GrpcHandlerImpl
	StartupConfig      *bean.StartupConfig
	// contains filtered or unexported fields
}

func NewApp

func NewApp(MuxRouter *api.MuxRouter, Logger *zap.SugaredLogger, impl *git.GitWatcherImpl, db *pg.DB, pubSubClient *pubsub.PubSubClientServiceImpl, GrpcControllerImpl *api.GrpcHandlerImpl) *App

func (*App) Start

func (app *App) Start()

func (*App) Stop

func (app *App) Stop()

Stop stops the grpcServer and cleans resources. Called during shutdown

type PanicLogger

type PanicLogger struct {
	Logger *zap.SugaredLogger
}

func (*PanicLogger) Println

func (impl *PanicLogger) Println(param ...interface{})

Jump to

Keyboard shortcuts

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