Work in progress . This commit adds the core registry service implementation with methods to: - Retrieve all registry entries - List entries with cursor-based pagination - Fetch specific server details by ID
9 lines
295 B
Go
9 lines
295 B
Go
package service
|
|
|
|
import "github.com/modelcontextprotocol/registry/internal/model"
|
|
|
|
// RegistryService defines the interface for registry operations
|
|
type RegistryService interface {
|
|
List(cursor string, limit int) ([]model.Entry, string, error)
|
|
GetByID(id string) (*model.ServerDetail, error)
|
|
}
|