Documentation ¶
Index ¶
- Variables
- type ProjectState
- type Storage
- func (s *Storage) FindClient(id int) (*client.Client, error)
- func (s *Storage) ListClients() ([]client.Client, error)
- func (s *Storage) ListClips() ([]string, error)
- func (s *Storage) ListProjects() ([]project.Project, error)
- func (s *Storage) SaveClient(payload map[string]interface{}) error
- func (s *Storage) SaveProject(payload map[string]interface{}) (*project.Project, error)
- func (s *Storage) SearchClients(name string, limit int) ([]client.Client, error)
- func (s *Storage) SearchProjects(name string, limit int) ([]project.Project, error)
- func (s *Storage) UpdateClient(payload map[string]interface{}) error
- func (s *Storage) UpdateProject(payload map[string]interface{}) error
- func (s *Storage) WailsInit(runtime *wails.Runtime) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPayloadNil = errors.New("submitted payload was nil")
)
Functions ¶
This section is empty.
Types ¶
type ProjectState ¶
type ProjectState struct {
// contains filtered or unexported fields
}
func (*ProjectState) Set ¶
func (s *ProjectState) Set(payload map[string]interface{})
func (*ProjectState) Value ¶
func (s *ProjectState) Value() *project.Project
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) FindClient ¶ added in v0.10.0
func (*Storage) ListClients ¶ added in v0.7.8
func (*Storage) SaveClient ¶
func (*Storage) SaveProject ¶
func (*Storage) SearchClients ¶ added in v0.11.0
func (*Storage) SearchProjects ¶ added in v0.11.0
func (*Storage) UpdateClient ¶ added in v0.10.0
func (*Storage) UpdateProject ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.