webserver

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// Echo instance
	Echo *echo.Echo
	// contains filtered or unexported fields
}

func MustNewServer

func MustNewServer(c WebServerConf, opts ...ServerOpt) *Server

func (*Server) Start

func (s *Server) Start()

func (*Server) Stop

func (s *Server) Stop()

type ServerOpt

type ServerOpt func(*Server)

func WithMiddleware

func WithMiddleware(middleware ...echo.MiddlewareFunc) ServerOpt

type WebServerConf

type WebServerConf struct {
	rest.RestConf
}

Directories

Path Synopsis
Package httpx provides enhanced HTTP request parsing with support for nested structs, multiple array notations, default values, and complete form data handling.
Package httpx provides enhanced HTTP request parsing with support for nested structs, multiple array notations, default values, and complete form data handling.

Jump to

Keyboard shortcuts

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