server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: Apache-2.0 Imports: 10 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
}

Server represents the GTS HTTP server

func NewServer

func NewServer(store *gts.GtsStore, host string, port int, verbose int) *Server

NewServer creates a new GTS HTTP server

func (*Server) GetOpenAPISpec

func (s *Server) GetOpenAPISpec() map[string]any

GetOpenAPISpec returns a basic OpenAPI specification for the server

func (*Server) Start

func (s *Server) Start() error

Start starts the HTTP server

Jump to

Keyboard shortcuts

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