server

package
v0.0.0-...-7b45942 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServer

func GetServer() (serverInstance *gin.Engine)

Get the server engine.

func InitRoutes

func InitRoutes(
	server *gin.Engine,
	dbConn *mongo.Database,
	queueClient *client.QueueClient,
	maxCtxDuration time.Duration,
)

Initialize all routes.

func InitSwagger

func InitSwagger(
	server *gin.Engine,
)

func ReadContainerHttpAddressFromEnv

func ReadContainerHttpAddressFromEnv() (address string)

func ReadHttpAddressFromEnv

func ReadHttpAddressFromEnv() (address string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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