server

package
v0.0.0-...-7a3fe27 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ApiV1BasePath = "/api/v1"
View Source
const ApiV1OpenApiSpecJsonFilePath = "docs/api/openapi3_0.json"

Variables

This section is empty.

Functions

func NewServer

func NewServer(
	listenAddr string,
	router *chi.Mux,
	queuesRepository storage.QueueRepository,
	exchangesRepository storage.ExchangeRepository,
) *http.Server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func (*Server) RegisterRoutes

func (s *Server) RegisterRoutes()

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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