httpserver

package
v0.0.0-...-a019193 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	SetRoutes(router *echo.Echo)
}

type Server

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

Server is the main object for managing http configurations and handlers.

func New

func New(c source.Config, handlers []Handler) Server

New Set up a new server object. Setup a new server object.

func (Server) Serve

func (s Server) Serve()

Serve Start server connection.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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