internal

package
v0.0.0-...-e55fb6d Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	WebServer *echo.Echo
	Services  *Services
	Storages  *Storages
	Common    *Common
	StartTime time.Time
	EndTime   time.Time
}

func NewApplication

func NewApplication() *Application

func (*Application) Start

func (a *Application) Start(port int) error

func (*Application) Stop

func (a *Application) Stop(ctx context.Context, waitCh <-chan os.Signal) error

func (*Application) WaitSignal

func (a *Application) WaitSignal() error

type Common

type Common struct {
	Logger  *slog.Logger
	OtelURL string
}

type Services

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

type Storages

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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