app

package
v0.0.0-...-b01a591 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: GPL-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package app is main application initialization code

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Echo *echo.Echo
	// contains filtered or unexported fields
}

Server is main application servers

func NewServer

func NewServer(logger logger.Logger) *Server

NewServer creates new Server instance

func (*Server) OnConfigChange

func (s *Server) OnConfigChange(newCfg *config.AppConfig)

OnConfigChange execute operation required on config change

func (*Server) Start

func (s *Server) Start()

Start starts web server main event loop

Jump to

Keyboard shortcuts

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