webserver

package
v0.0.0-...-4aa8526 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

type WebServer interface {
	Listen(addr string) error
	ListenTLS(addr string, certFile string, keyFile string) error
	Shutdown() error
	Engine() *fiber.App
}

func New

func New(config ...fiber.Config) WebServer

New creates a new instance of a fiber web server

Jump to

Keyboard shortcuts

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