Documentation ¶
Index ¶
- type Cache
- func (c *Cache) ContentDelete(space space.Space, ct contenttype.ContentType, item content.Content) error
- func (c *Cache) ContentGet(space space.Space, ct contenttype.ContentType, contentID string) (content.Content, error)
- func (c *Cache) ContentNew(space space.Space, ct contenttype.ContentType, params []db.ContentNewParam) (content.Content, error)
- func (c *Cache) ContentTypeDelete(space space.Space, ct contenttype.ContentType) error
- func (c *Cache) ContentTypeGet(space space.Space, thingID string) (contenttype.ContentType, error)
- func (c *Cache) ContentTypeNew(space space.Space, name string, params []db.ContentTypeNewParam) (contenttype.ContentType, error)
- func (c *Cache) ContentTypeUpdate(space space.Space, prev contenttype.ContentType, name string, ...) (contenttype.ContentType, error)
- func (c *Cache) ContentUpdate(space space.Space, ct contenttype.ContentType, item content.Content, ...) (content.Content, error)
- func (c *Cache) SpaceDelete(u user.User, s space.Space) error
- func (c *Cache) SpaceGet(user user.User, thingID string) (space.Space, error)
- func (c *Cache) SpaceNew(user user.User, name, desc string) (space.Space, error)
- func (c *Cache) SpaceUpdate(user user.User, prev space.Space, name, desc string) (space.Space, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
func (*Cache) ContentDelete ¶
func (c *Cache) ContentDelete(space space.Space, ct contenttype.ContentType, item content.Content) error
func (*Cache) ContentGet ¶
func (c *Cache) ContentGet(space space.Space, ct contenttype.ContentType, contentID string) (content.Content, error)
func (*Cache) ContentNew ¶
func (c *Cache) ContentNew(space space.Space, ct contenttype.ContentType, params []db.ContentNewParam) (content.Content, error)
func (*Cache) ContentTypeDelete ¶
func (c *Cache) ContentTypeDelete(space space.Space, ct contenttype.ContentType) error
func (*Cache) ContentTypeGet ¶
func (c *Cache) ContentTypeGet(space space.Space, thingID string) (contenttype.ContentType, error)
func (*Cache) ContentTypeNew ¶
func (c *Cache) ContentTypeNew(space space.Space, name string, params []db.ContentTypeNewParam) (contenttype.ContentType, error)
func (*Cache) ContentTypeUpdate ¶
func (c *Cache) ContentTypeUpdate(space space.Space, prev contenttype.ContentType, name string, newParams []db.ContentTypeNewParam, updateParams []db.ContentTypeUpdateParam) (contenttype.ContentType, error)
func (*Cache) ContentUpdate ¶
func (c *Cache) ContentUpdate(space space.Space, ct contenttype.ContentType, item content.Content, newParams []db.ContentNewParam, updateParams []db.ContentUpdateParam) (content.Content, error)
Click to show internal directories.
Click to hide internal directories.