server

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("server",
	fx.Provide(New),
	fx.Invoke(Run),
)

Functions

func New

func New(info Info) *mcp.Server

func Run

func Run(p RunParams)

Types

type Info

type Info struct {
	Version string
	Commit  string
}

Info holds server metadata injected at build time.

type RunParams

type RunParams struct {
	fx.In
	fx.Lifecycle
	Logger *slog.Logger
	Server *mcp.Server
	Config app.Config
}

Jump to

Keyboard shortcuts

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