httpserver

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleFunc

type HandleFunc struct {
	Pattern string
	Handler http.HandlerFunc
}

func Routes

func Routes(authenticationService service.AuthenticationService, noteService service.NoteService) []HandleFunc

type Server

type Server struct {
	Mux        *http.ServeMux
	HttpServer *http.Server
}

func NewServer

func NewServer(authenticationService service.AuthenticationService, noteService service.NoteService, jwtDatasource domain.JwtDatasource, cfg config.Configuration) *Server

NewServer creates and configures a new HTTP server with the specified address.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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