Documentation
¶
Index ¶
- type Library
- func (l *Library) Close()
- func (l *Library) ConfigDir() string
- func (l *Library) Delete(scroll_name string) error
- func (l *Library) Exists(name string) bool
- func (l *Library) GetAllScrolls() ([]*Scroll, error)
- func (l *Library) GetAllScrollsAutoComplete(name string) ([]*Scroll, error)
- func (l *Library) GetAllScrollsByType(t string) ([]*Scroll, error)
- func (l *Library) GetById(id int64) (*Scroll, error)
- func (l *Library) GetByName(scroll_name string) (*Scroll, error)
- func (l *Library) Migrate() error
- func (l *Library) MigrateScrolls(libPath string) error
- func (l *Library) NewScroll(scroll_name, file_type string, body []byte) (*Scroll, error)
- func (l *Library) Rename(src, dist string) error
- func (l *Library) Update(scroll *Scroll) error
- type Scroll
- func (s *Scroll) Body() []byte
- func (s *Scroll) Delete() error
- func (s *Scroll) Exec() file_types.ExecArgs
- func (s *Scroll) File() string
- func (s *Scroll) Id() string
- func (s *Scroll) Library() *Library
- func (s *Scroll) Name() string
- func (s *Scroll) Rename(newName string) error
- func (s *Scroll) Save() error
- func (s *Scroll) SetBody(b []byte)
- func (s *Scroll) SetType(t string)
- func (s *Scroll) Type() string
- type ScrollsDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
func LoadLibrary ¶
func (*Library) GetAllScrolls ¶
func (*Library) GetAllScrollsAutoComplete ¶
func (*Library) GetAllScrollsByType ¶
func (*Library) MigrateScrolls ¶
type Scroll ¶
type Scroll struct {
// contains filtered or unexported fields
}
func (*Scroll) Exec ¶
func (s *Scroll) Exec() file_types.ExecArgs
Click to show internal directories.
Click to hide internal directories.