Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionService ¶
type VersionService struct {
// contains filtered or unexported fields
}
VersionService uses accessor interface
func NewVersionService ¶
func NewVersionService(a Accessor) VersionService
NewVersionService creates a new service to action save and retrieve operations
func (VersionService) Get ¶
func (vs VersionService) Get() (map[int]Version, int, error)
Get method used to access data through Version service and the Retrieve method the Retrieve method is implemented by the storage backend
func (VersionService) GetCurrentVersion ¶
func (vs VersionService) GetCurrentVersion() (string, int, error)
func (VersionService) GetNextVersion ¶
func (vs VersionService) GetNextVersion(currentVersion string, level int) (nextVersion string)
func (VersionService) Save ¶
func (vs VersionService) Save(n int, p Version)
Save method used to access data through Version service and the Save method the Save method is implemented by the storage backend
Click to show internal directories.
Click to hide internal directories.