gomcp

package module
v0.0.0-...-22b9b45 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gomcp

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSE

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

func NewSSEServer

func NewSSEServer(url, accessPoint url.URL, mcpSrv protocol.IServer) *SSE

func (*SSE) Listen

func (s *SSE) Listen() http.HandlerFunc

func (*SSE) Messages

func (s *SSE) Messages() http.HandlerFunc

func (*SSE) Middlewares

func (s *SSE) Middlewares(mw ...func(http.Handler) http.Handler)

func (*SSE) Router

func (s *SSE) Router(router http.Handler)

func (*SSE) Run

func (s *SSE) Run() error

func (*SSE) SendNotification

func (s *SSE) SendNotification(notification *protocol.Notification)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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