Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { DeleteContent(entityType, entityId string) error CreateContent(entityType string, content interface{}) (string, error) UpdateContent(entityType, entityId string, update map[string]interface{}) (interface{}, error) GetContent(entityType, entityId string) (interface{}, error) GetContentBySlug(slug string) (string, interface{}, error) GetAllWithOptions(entityType string, search *entities.Search) (int, []interface{}, error) GetAll(entityType string) ([]interface{}, error) }
func New ¶
func New( contentRepository repositories.ContentRepositoryInterface, configRepository repositories.ConfigRepositoryInterface, searchClient driver.SearchClientInterface, ) (Service, error)
Click to show internal directories.
Click to hide internal directories.