feat: implement publish endpoint and related database functionality
This commit is contained in:
parent
b09275fa67
commit
582d93a103
1 changed files with 417 additions and 30 deletions
|
|
@ -6,4 +6,5 @@ import "github.com/modelcontextprotocol/registry/internal/model"
|
|||
type RegistryService interface {
|
||||
List(cursor string, limit int) ([]model.Entry, string, error)
|
||||
GetByID(id string) (*model.ServerDetail, error)
|
||||
Publish(serverDetail *model.ServerDetail) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue