internal

package
v0.0.0-...-f40894c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 10 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 {
	GrpcServer *grpc.Server
	HTTPServer *http.Server
	GrpcPort   string
	HttpPort   string
}

App is main service

func (*App) Exit

func (app *App) Exit() (err error)

Exit application exit

func (*App) Init

func (app *App) Init() (err error)

Init application init

func (*App) Run

func (app *App) Run() (err error)

Run application run

type Application

type Application interface {
	Init() error
	Run() error
	Exit() error
}

Application base app framework interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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