Versions in this module Expand all Collapse all v0 v0.1.6 Jul 23, 2020 v0.1.5 Apr 17, 2020 Changes in this version + type Store struct + func New() *Store + func (s *Store) Get() wgtypes.Key + func (s *Store) HasKey() bool + func (s *Store) Set(key wgtypes.Key) v0.1.4 Oct 27, 2019 Changes in this version + func GenerateKey(filePath string) (*wgtypes.Key, error) + func IsPrivateKeyNotFound(err error) bool + func LoadPrivateKey(filePath string) (*wgtypes.Key, error) + type PrivateKeyNotFoundErr struct + func (e PrivateKeyNotFoundErr) Error() string