Versions in this module Expand all Collapse all v0 v0.0.1 Jul 12, 2026 Changes in this version + func CreateRoutes(gatewayMux *runtime.ServeMux) *http.ServeMux + func NewServer(ctx context.Context, config Config, service Service, logger *slog.Logger, ...) (*httpServer, error) + type Config struct + APIHost string + Build string + CorsAllowedOrigins []string + DebugHost string + Desc string + IdleTimeout time.Duration + MaxHeaderBytes int + MetricsHost string + Namespace string + ReadTimeout time.Duration + ShutdownTimeout time.Duration + TraceExporterEndpoint string + WriteTimeout time.Duration + func LoadConfig(prefix string) (Config, error) + type ServerOption func(*ServerOptions) + func WithMeterProvider(mp otelmetric.MeterProvider) ServerOption + func WithTracerProvider(tp oteltrace.TracerProvider) ServerOption + type ServerOptions struct + type Service interface + RegisterGateway func(ctx context.Context, mux *runtime.ServeMux) error