Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
// FetchParameters return all parameters saved in storage
FetchParameters() ([]*Parameter, error)
// DeleteParameter remove parameter with given ID
DeleteParameter(ID string) error
// UpdateParameter modify parameter with given ID and given new data
UpdateParameter(param *Parameter) error
// FetchParameterByID returns the parameter with given ID
FetchParameterByID(ID string) (*Parameter, error)
}
Repository provides access to the parameter storage
Click to show internal directories.
Click to hide internal directories.