Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 6 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 exposes the knowledge graph via MCP-compatible HTTP endpoints.

func New

func New(engine *query.Engine, port int) *Server

New creates a Server that serves the graph at the given port.

func (*Server) Start

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

Start registers routes and begins listening. It blocks until the context is cancelled.

Jump to

Keyboard shortcuts

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