webserver

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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