gin

package
v1.2.32 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGinWebServerHandler

func NewGinWebServerHandler(args ArgsNewWebServer) (*webServer, error)

NewGinWebServerHandler returns a new instance of webServer

func NewHttpServer

func NewHttpServer(server *http.Server) (*httpServer, error)

NewHttpServer returns a new instance of httpServer

Types

type ArgsNewWebServer

type ArgsNewWebServer struct {
	Facade          shared.FacadeHandler
	ApiConfig       config.ApiRoutesConfig
	AntiFloodConfig config.WebServerAntifloodConfig
}

ArgsNewWebServer holds the arguments needed to create a new instance of webServer

Jump to

Keyboard shortcuts

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