server

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Config *config.Config
	Tracer trace.Tracer
	Meter  metric.Meter
	Logger zerolog.Logger
}

Config holds server configuration

type Server

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

Server represents the API aggregation server

func New

func New(cfg Config) *Server

New creates a new server instance

func (*Server) ServeHTTP

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

ServeHTTP implements http.Handler

Jump to

Keyboard shortcuts

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