api

package
v0.0.0-...-74ede58 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServer

type AppServer struct {
	Env     string
	Port    string
	Version string
	handlers.Handlers
}

func (*AppServer) NotAllowedHandler

func (app *AppServer) NotAllowedHandler(w http.ResponseWriter, r *http.Request)

func (*AppServer) NotFoundHandler

func (app *AppServer) NotFoundHandler(w http.ResponseWriter, r *http.Request)

Special server handlers, outside of specific routes we have

func (*AppServer) OnShutdown

func (app *AppServer) OnShutdown()

OnShutdown is called when the server has a panic.

func (*AppServer) Run

func (app *AppServer) Run(appConfig config.ApiEnvConfig)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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