Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preferences ¶
type Preferences struct {
// contains filtered or unexported fields
}
Preferences provides struct of preferences
func NewPreferences ¶
func NewPreferences(storagePath string, storageURL string) *Preferences
NewPreferences returns Preferences struct by given parameters
func (*Preferences) MetadataPath ¶
func (p *Preferences) MetadataPath() string
MetadataPath provides path to metadata directory
func (*Preferences) PackagesPath ¶
func (p *Preferences) PackagesPath() string
PackagesPath provides path to packages directory
func (*Preferences) StoragePath ¶
func (p *Preferences) StoragePath() string
StoragePath provides path to store packages and metadata
func (*Preferences) StorageURL ¶
func (p *Preferences) StorageURL() string
StorageURL shares URL to store and download packages with metadata
Click to show internal directories.
Click to hide internal directories.