Documentation ¶ Index ¶ type Server func New(ctx context.Context, cfg aastro.GatewayConfig, version string, log *zap.Logger) (*Server, error) func (s *Server) Start() error func (s *Server) Stop(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, cfg aastro.GatewayConfig, version string, log *zap.Logger) (*Server, error) func (*Server) Start ¶ func (s *Server) Start() error func (*Server) Stop ¶ func (s *Server) Stop(ctx context.Context) error Stop drains the HTTP server, closes the router (middleware Closers), then flushes observability providers. Order matters: HTTP first so no in-flight request writes to a provider that is already shutting down. Source Files ¶ View all Source files server.gotls.go Click to show internal directories. Click to hide internal directories.