bind

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

func (*ProjectState) WailsInit

func (s *ProjectState) WailsInit(runtime *wails.Runtime) error

WailsInit is called when the component is being initialised

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func (*Storage) FindClient added in v0.10.0

func (s *Storage) FindClient(id int) (*client.Client, error)

func (*Storage) ListClients added in v0.7.8

func (s *Storage) ListClients() ([]client.Client, error)

func (*Storage) ListClips added in v0.8.1

func (s *Storage) ListClips() ([]string, error)

func (*Storage) ListProjects

func (s *Storage) ListProjects() ([]project.Project, error)

func (*Storage) SaveClient

func (s *Storage) SaveClient(payload map[string]interface{}) error

func (*Storage) SaveProject

func (s *Storage) SaveProject(payload map[string]interface{}) (*project.Project, error)

func (*Storage) SearchClients added in v0.11.0

func (s *Storage) SearchClients(name string, limit int) ([]client.Client, error)

func (*Storage) SearchProjects added in v0.11.0

func (s *Storage) SearchProjects(name string, limit int) ([]project.Project, error)

func (*Storage) UpdateClient added in v0.10.0

func (s *Storage) UpdateClient(payload map[string]interface{}) error

func (*Storage) UpdateProject added in v0.11.0

func (s *Storage) UpdateProject(payload map[string]interface{}) error

func (*Storage) WailsInit

func (s *Storage) WailsInit(runtime *wails.Runtime) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL