Documentation ¶
Index ¶
- type Pattern
- func (p Pattern) Create(knowledgeBaseUUID string, ent entKb.Pattern) (string, error)
- func (p Pattern) Get(knowledgeBaseUUID, uuid string) (entKb.Pattern, error)
- func (p Pattern) GetAll(knowledgeBaseUUID string) (map[string]entKb.Pattern, error)
- func (p Pattern) Remove(knowledgeBaseUUID, uuid string) error
- func (p Pattern) Update(knowledgeBaseUUID string, ent entKb.Pattern) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pattern ¶
type Pattern struct {
// contains filtered or unexported fields
}
type Storage ¶
type Storage interface { CreatePattern(knowledgeBaseUUID string, ent entKb.Pattern) error GetAllPatterns(knowledgeBaseUUID string) (map[string]entKb.Pattern, error) GetPattern(knowledgeBaseUUID, uuid string) (entKb.Pattern, error) UpdatePattern(knowledgeBaseUUID string, ent entKb.Pattern) error RemovePattern(knowledgeBaseUUID, uuid string) error }
Click to show internal directories.
Click to hide internal directories.