prefs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2017 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

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