rapi

package
v0.0.0-...-4fa2157 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtensionsRouter

func ExtensionsRouter(appCtx appctx.ApplicationContext, registrationService core.RegistrationService, renderingService *rendering.EventRenderingService) http.Handler

func NewRouter

func NewRouter(appCtx appctx.ApplicationContext, registrationService core.RegistrationService, renderingService *rendering.EventRenderingService, runtimeReqHandler runtimeRequestHandler) http.Handler

func SaveConnInContext

func SaveConnInContext(ctx context.Context, c net.Conn) context.Context

func TelemetryAPIRouter

func TelemetryAPIRouter(registrationService core.RegistrationService, telemetrySubscriptionAPI telemetry.SubscriptionAPI) http.Handler

Types

type Server

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

func NewServer

func NewServer(
	runtimeAPIAddrPort netip.AddrPort,
	appCtx appctx.ApplicationContext,
	registrationService core.RegistrationService,
	renderingService *rendering.EventRenderingService,
	telemetrySubscriptionAPI telemetry.SubscriptionAPI,
	runtimeReqHandler runtimeRequestHandler,
) (*Server, error)

func (*Server) AddrPort

func (s *Server) AddrPort() netip.AddrPort

func (*Server) Close

func (s *Server) Close() error

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

func (*Server) Shutdown

func (s *Server) Shutdown() error

func (*Server) URL

func (s *Server) URL(endpoint string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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