content

package
v0.0.0-...-b27b957 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL