Documentation ¶
Overview ¶
Package mem provides an in-memory ipn.StateStore implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is an ipn.StateStore that keeps state in memory only.
func (*Store) ExportToJSON ¶
ExportToJSON exports the content of the cache to JSON formatted []byte.
func (*Store) LoadFromJSON ¶
LoadFromJSON attempts to unmarshal json content into the in-memory cache.
Click to show internal directories.
Click to hide internal directories.