server

package
v0.0.0-...-2a243e4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRouter

func SetupRouter(d *RouterDependencies) *gin.Engine

SetupRouter returns a configured router Engine

Types

type RouterDependencies

type RouterDependencies struct {
	CheckController  *controller.PingController
	ReportController *controller.ReportController
}

RouterDependencies keeps dependencies to allow dependencies injection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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