Documentation ¶
Index ¶
- type DiscoveryController
- func (ddc DiscoveryController) Add(body, catalogID string)
- func (ddc DiscoveryController) Delete(body string) error
- func (ddc DiscoveryController) MessageHandler(messageList clients.MessageList) error
- func (ddc DiscoveryController) ProcessMessage(message, from string) error
- func (ddc DiscoveryController) Restore(body, catalogID string) error
- func (ddc DiscoveryController) Update(body, catalogID string)
- type SearchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryController ¶
type DiscoveryController struct { FairDataPointClient clients.FairDataPointClient IdentifierRegex *regexp.Regexp IsPartOfRegex *regexp.Regexp DatasetsRegex *regexp.Regexp DatasetIdRegex *regexp.Regexp AccessPoints map[string]uuid.UUID }
func InitDiscoveryController ¶
func InitDiscoveryController(fairClient clients.FairDataPointClient, accessPoints map[string]uuid.UUID) (DiscoveryController, error)
func (DiscoveryController) Add ¶
func (ddc DiscoveryController) Add(body, catalogID string)
func (DiscoveryController) Delete ¶
func (ddc DiscoveryController) Delete(body string) error
func (DiscoveryController) MessageHandler ¶
func (ddc DiscoveryController) MessageHandler(messageList clients.MessageList) error
func (DiscoveryController) ProcessMessage ¶
func (ddc DiscoveryController) ProcessMessage(message, from string) error
func (DiscoveryController) Restore ¶
func (ddc DiscoveryController) Restore(body, catalogID string) error
func (DiscoveryController) Update ¶
func (ddc DiscoveryController) Update(body, catalogID string)
Click to show internal directories.
Click to hide internal directories.