server

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIRouter

func NewAPIRouter(conf *config.YamlConfig) *gin.Engine

NewAPIRouter initializes all public/secure api routes including short api description for swagger documentation

func Shutdown

func Shutdown(server *http.Server, logger mclog.Logger, quit <-chan os.Signal, done chan<- bool)

Shutdown gracefully shutdown of the server

func Start

func Start(conf *config.YamlConfig, router *gin.Engine, logger mclog.Logger) *http.Server

Start - start the gin server

Types

This section is empty.

Jump to

Keyboard shortcuts

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