Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateContent ¶
Types ¶
type ConfigRunner ¶
type Content ¶
type Content struct {
Type string `json:"type"`
Text string `json:"text,omitempty"`
Data string `json:"data,omitempty"`
MimeType string `json:"mimeType,omitempty"`
URI string `json:"uri,omitempty"`
Name string `json:"name,omitempty"`
Resource *struct {
URI string `json:"uri"`
Text string `json:"text"`
Blob string `json:"blob"`
MimeType string `json:"mimeType"`
} `json:"resource,omitempty"`
}
func (*Content) UnmarshalJSON ¶
type MCPServer ¶
type MCPServer struct {
Name string `json:"name"`
Type string `json:"type"`
Command string `json:"command"`
Args []string `json:"args"`
Env []NamedValue `json:"env"`
URL string `json:"url"`
Headers []NamedValue `json:"headers"`
}
type NamedValue ¶
type RichRunner ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CloseStorage ¶ added in v2026.1121.0
func (s *Server) CloseStorage()
func (*Server) SetDatabaseStorage ¶ added in v2026.1121.0
func (*Server) SetStorage ¶
func (*Server) SetVersion ¶
type StateRunner ¶
type StateRunner interface {
Snapshot() (json.RawMessage, error)
Restore(json.RawMessage) error
}
Click to show internal directories.
Click to hide internal directories.