Documentation
¶
Index ¶
Constants ¶
View Source
const CacheTtl = time.Hour * 12
Variables ¶
View Source
var ErrCacheFileOutdated = fmt.Errorf("cache file is outdated")
Functions ¶
func NewPromptServerOptions ¶
func NewPromptServerOptions() []server.ServerOption
func WithPromptServerOption ¶
func WithPromptServerOption(prompt mcp.Prompt, handler server.PromptHandlerFunc) server.ServerOption
Types ¶
type SchemaType ¶
type SchemaType string
const ( SchemaTypeString SchemaType = "string" SchemaTypeInteger SchemaType = "integer" SchemaTypeBoolean SchemaType = "boolean" SchemaTypeArray SchemaType = "array" SchemaTypeObject SchemaType = "object" )
Click to show internal directories.
Click to hide internal directories.