router

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 6 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) error

Setup configures all routes for an Echo instance

Types

type Config

type Config struct {
	Handlers []handlers.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