Skip to main content
Glama
aggregation.model.go882 B
package remedy import ( "lunar/aggregation-plugin/common" sharedConfig "lunar/shared-model/config" sharedDiscovery "lunar/shared-model/discovery" ) type AccessLog common.AccessLog type Action int const ( ActionNoOp Action = iota ActionGenerated ActionModified ) type Int int type Aggregation struct { RemedyStats map[RemedyWithAction]RemedyStats RemedyActionStats map[Action]CounterWithStatusCodes TotalCount Int MaxEpochMillis int64 MinEpochMillis int64 } type RemedyWithAction struct { //nolint:revive Remedy sharedConfig.RemedyType Action Action } type AffectedStatsByEndpoint = map[sharedDiscovery.Endpoint]CounterWithStatusCodes type RemedyStats struct { //nolint:revive AffectedCount Int AffectedStatsByEndpoint AffectedStatsByEndpoint } type CounterWithStatusCodes struct { Count Int StatusCodes map[string]Int }

Latest Blog Posts

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/TheLunarCompany/lunar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server