Documentation
¶
Index ¶
- func ValidateContent(content []byte, allowedCategories []string) error
- type Doc
- type Store
- func (s *Store) AppendSection(id, heading, content string) error
- func (s *Store) Create(doc Doc, content []byte) (string, error)
- func (s *Store) Exists(id string) bool
- func (s *Store) Get(id string) (string, error)
- func (s *Store) List() ([]Doc, error)
- func (s *Store) SetStatus(id, status string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateContent ¶
Types ¶
type Doc ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AppendSection ¶
Click to show internal directories.
Click to hide internal directories.