Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { // Preset methods StorePreset(types.Preset) (types.Preset, error) RetrievePreset(string) (types.Preset, error) UpdatePreset(string, types.Preset) (types.Preset, error) GetPresets() ([]types.Preset, error) DeletePreset(string) (types.Preset, error) // Job methods DeleteJob(string) (types.Job, error) StoreJob(types.Job) (types.Job, error) RetrieveJob(string) (types.Job, error) UpdateJob(string, types.Job) (types.Job, error) GetJobs() ([]types.Job, error) ClearDatabase() error }
Storage defines functions for accessing data
Click to show internal directories.
Click to hide internal directories.