gin

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_PRINT_BODY_LEN = 1024

Variables

This section is empty.

Functions

func NewServer

func NewServer(options server.Options, routerProvider func(engine *gin.Engine)) server.Server

Types

type Server

type Server struct {
	Srv     *gin.Engine
	Options server.Options
}

func (*Server) Run

func (server *Server) Run(graceful func())

func (*Server) Shutdown

func (server *Server) Shutdown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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