mcpserver

package
v0.19.1221 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointFromAPIURL added in v0.19.1150

func EndpointFromAPIURL(apiURL string) (string, error)

func IsLocalAPIURL added in v0.19.1163

func IsLocalAPIURL(apiURL string) bool

func NameFromAPIURL added in v0.19.1159

func NameFromAPIURL(apiURL string) string

Types

type Option added in v0.19.1159

type Option func(*Service)

func WithEndpoint added in v0.19.1159

func WithEndpoint(endpoint string) Option

func WithName added in v0.19.1159

func WithName(name string) Option

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, allowWrites bool, opts ...Option) *Service

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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