server

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootPath *echo.Group

Functions

func NewHealthController

func NewHealthController(cfg *config.Config) models.Controller

NewHealthController creates a new health controller

func NewServer

func NewServer(cfg *config.Config) *echo.Echo

func RegisterRoutes

func RegisterRoutes(cfg *config.Config, g *echo.Group, controller models.Controller)

RegisterRoutes registers all routes for the server

Types

type HealthController

type HealthController struct {
	*models.DefaultController
	// contains filtered or unexported fields
}

func (*HealthController) GetRoutes

func (c *HealthController) GetRoutes() models.Routes

GetRoutes returns the routes for the health controller

Jump to

Keyboard shortcuts

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