server

package
v0.11.0-cloud1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

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 StartPlatformAPIServer

func StartPlatformAPIServer(cfg *config.Server, slogger *slog.Logger) (*Server, error)

StartPlatformAPIServer creates a new server instance with all dependencies initialized

func (*Server) GetMux

func (s *Server) GetMux() *http.ServeMux

GetMux returns the raw ServeMux for testing purposes.

func (*Server) Start

func (s *Server) Start(port string, certDir string) error

Start starts the HTTPS server

Jump to

Keyboard shortcuts

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