kernel

package
v0.0.0-...-867287e Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 11 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 {
	Server *http.Server
	Router *mux.Router
	Logger *zap.Logger
	Config *config.Config
}

func Boot

func Boot() *Application

func (*Application) ListenForShutdown

func (app *Application) ListenForShutdown()

func (*Application) Respond

func (app *Application) Respond(response http.ResponseWriter, request *http.Request, data interface{}, status int)

func (*Application) Run

func (app *Application) Run()

Jump to

Keyboard shortcuts

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