httpserver

package
v0.0.0-...-3d9365a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(server gen.ServerInterface, docsHandler *docs.Handler, tokens *auth.JWTManager, requestLogger Middleware) http.Handler

Types

type Middleware

type Middleware func(http.Handler) http.Handler

type Server

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

Server adapts domain handlers to the generated OpenAPI server interface.

func NewServer

func NewServer(sat *satellite.Handler, usr *user.Handler, authH *auth.Handler, hlth *health.Handler) *Server

func (*Server) DeleteSatellitesId

func (s *Server) DeleteSatellitesId(w http.ResponseWriter, r *http.Request, _ openapi_types.UUID)

func (*Server) DeleteUsersId

func (s *Server) DeleteUsersId(w http.ResponseWriter, r *http.Request, _ openapi_types.UUID)

func (*Server) GetHealth

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

func (*Server) GetSatellites

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

func (*Server) GetSatellitesId

func (s *Server) GetSatellitesId(w http.ResponseWriter, r *http.Request, _ openapi_types.UUID)

func (*Server) GetUsers

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

func (*Server) GetVersion

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

func (*Server) PatchSatellitesId

func (s *Server) PatchSatellitesId(w http.ResponseWriter, r *http.Request, _ openapi_types.UUID)

func (*Server) PostAuthLogin

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

func (*Server) PostSatellites

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

func (*Server) PostSatellitesIdHeartbeat

func (s *Server) PostSatellitesIdHeartbeat(w http.ResponseWriter, r *http.Request, _ openapi_types.UUID)

func (*Server) PostUsers

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

Jump to

Keyboard shortcuts

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