Documentation ¶
Index ¶
- Constants
- type Service
- func (cd Service) Check() error
- func (cd Service) Count() (int, error)
- func (cd Service) DecodeJSON(dec *json.Decoder) (interface{}, string, error)
- func (cd Service) Delete(uuid string, transID string) (bool, error)
- func (cd Service) Initialise() error
- func (cd Service) Read(uuid string, transID string) (interface{}, bool, error)
- func (cd Service) Write(thing interface{}, transID string) error
Constants ¶
View Source
const LiveBlogPackage = "LiveBlogPackage"
View Source
const LiveBlogPost = "LiveBlogPost"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v3.4.0
type Service struct {
// contains filtered or unexported fields
}
func NewContentService ¶ added in v3.4.0
NewCypherDriver instantiate driver
func (Service) Check ¶ added in v3.4.0
Check - Feeds into the Healthcheck and checks whether we can connect to Neo and that the datastore isn't empty and also checks if we are connected to leader/writable node
func (Service) Count ¶ added in v3.4.0
Count - Returns a count of the number of content items in this Neo instance
func (Service) DecodeJSON ¶ added in v3.4.0
DecodeJSON - Decodes JSON into content
func (Service) Initialise ¶ added in v3.4.0
Initialise ensures constraints on content uuid
Click to show internal directories.
Click to hide internal directories.