app

package
v0.0.0-...-f80e778 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 9 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 {
	RPC *rpc.ServerAdapter
}

App represents the main server configuration.

func NewApp

func NewApp() (*App, error)

NewApp initialize all deps

func (*App) Run

func (srv *App) Run(ctx context.Context)

Run start service with deps

func (*App) Shutdown

func (srv *App) Shutdown(ctx context.Context)

Shutdown graceful shutdown

Directories

Path Synopsis
adapters
rpc
services

Jump to

Keyboard shortcuts

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