class

CrystalDoc::MCP::DocCache

Inherits Reference / Object

Constructors

new(ttl : Time::Span = Time::Span.new(days: 1))
Source

Instance methods

get(service : String, user : String, project : String, version : String) : JSON::Any | Nil
Source
get_method(type_name : String, method_name : String, service : String, user : String, project : String, version : String, kind : String | Nil = nil) : MethodDetails | Nil
Source
get_type(full_name : String, service : String, user : String, project : String, version : String) : JSON::Any | Nil
Source
list_api_types(service : String, user : String, project : String, version : String, namespace : String | Nil = nil) : Array(TypeResult)
Source
list_repo_versions
Source
search_constants(query : String, repo : String) : Array(ConstantResult)
Source
search_methods(query : String, repo : String) : Array(MethodResult)
Source
search_types(query : String, repo : String) : Array(TypeResult)
Source