server

package
v0.0.0-...-7555876 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 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 {
	Cfg *config.Server
	// contains filtered or unexported fields
}

func NewHTTPServer

func NewHTTPServer(cfg *config.Server) *Server

func NewHTTPTestServer

func NewHTTPTestServer() *Server

func (*Server) RegisterRoutes

func (s *Server) RegisterRoutes(routes func(app fiber.Router)) *Server

func (*Server) Run

func (s *Server) Run() error

func (*Server) Test

func (s *Server) Test(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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