Documentation ¶
Index ¶
- type Group
- func (gr Group) Create(knowledgeBaseUUID string, ent entKb.Group) (string, error)
- func (gr Group) Get(knowledgeBaseUUID, uuid string) (entKb.Group, error)
- func (gr Group) GetAll(knowledgeBaseUUID string) (map[string]entKb.Group, error)
- func (gr Group) Remove(knowledgeBaseUUID, uuid string) error
- func (gr Group) Reorder(knowledgeBaseUUID, groupUUID, parentUUID string) error
- func (gr Group) Update(knowledgeBaseUUID string, ent entKb.Group) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
type Storage ¶
type Storage interface { CreateGroup(knowledgeBaseUUID string, ent entKb.Group) error GetAllGroups(knowledgeBaseUUID string) (map[string]entKb.Group, error) GetGroup(knowledgeBaseUUID, uuid string) (entKb.Group, error) UpdateGroup(knowledgeBaseUUID string, ent entKb.Group) error RemoveGroup(knowledgeBaseUUID, uuid string) error }
Click to show internal directories.
Click to hide internal directories.