package lrucache
import "time"
// Config represents LRU cache configuration
type Config struct {
// MaxSize is the maximum number of entries the cache can hold
MaxSize int `yaml:"max_size"`
// TTL specifies how long entries should remain in cache
// Format: time.Duration string ("5m", "1h", "24h")
TTL time.Duration `yaml:"ttl"`
}
func (c Config) Tag() string {
return "lru_cache"
}
func (c Config) Doc() string {
return docString
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/centralmind/gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server