rapi

package
v0.0.0-...-bef5c4b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 15 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 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 {
	MetadataService *lmds.Service
	// 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,
	metadataService *lmds.Service,
) (*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