router

package
v0.0.0-...-84048cf Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(e *echo.Echo, cfg *Config)

Setup configures all routes for an Echo instance

Types

type Config

type Config struct {
	Handlers []handler.Handler
	Static   StaticConfig
	Logger   logging.Logger
}

Config holds router configuration

type StaticConfig

type StaticConfig struct {
	Path string
	Root string
}

StaticConfig configures static file serving

Jump to

Keyboard shortcuts

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