Documentation ¶ Index ¶ type Store func NewStore(topDir, addr string, assertFallback bool) *Store func (s *Store) SnapsDir() string func (s *Store) Start() error func (s *Store) Stop() error func (s *Store) URL() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { // contains filtered or unexported fields } Store is our snappy software store implementation func NewStore ¶ func NewStore(topDir, addr string, assertFallback bool) *Store NewStore creates a new store server serving snaps from the given top directory and assertions from topDir/asserts. If assertFallback is true missing assertions are looked up in the main online store. func (*Store) SnapsDir ¶ func (s *Store) SnapsDir() string func (*Store) Start ¶ func (s *Store) Start() error Start listening func (*Store) Stop ¶ func (s *Store) Stop() error Stop stops the server func (*Store) URL ¶ func (s *Store) URL() string URL returns the base-url that the store is listening on Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.