pkg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeSSE   string = "sse"
	ModeStdio string = "stdio"
)

Variables

This section is empty.

Functions

func Run

func Run(svr *server.Server)

func Transport

func Transport(mode string, opts ...Option) (transport.ServerTransport, error)

Types

type Option

type Option func(*Options)

func WithAddr

func WithAddr(addr string) Option

type Options

type Options struct {
	Addr string
}

Jump to

Keyboard shortcuts

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