10 lines
344 B
Go
10 lines
344 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)
|
|
Publish(serverDetail *model.ServerDetail) error
|
|
}
|