Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeEvent ¶
type ChangeEvent struct { }
type Connection ¶
type Connection struct { sync.RWMutex // ConID is the connection identifier, used as a key in the connection table. // Currently based on the sink id, peer addr and a counter. ConID string // PeerAddr is the address of the client, from network layer. PeerAddr string // Time of connection, for debugging Connect time.Time // LastResponse stores the last response nonce to each sink LastResponse map[string]string // contains filtered or unexported fields }
Connection holds information about connected client.
type ConsulMcpServer ¶
func NewServer ¶
func NewServer(listeningAddress string, consulAddress string) *ConsulMcpServer
func (*ConsulMcpServer) EstablishResourceStream ¶
func (s *ConsulMcpServer) EstablishResourceStream(stream mcp.ResourceSource_EstablishResourceStreamServer) error
func (*ConsulMcpServer) Stop ¶
func (s *ConsulMcpServer) Stop()
Click to show internal directories.
Click to hide internal directories.