Versions in this module Expand all Collapse all v0 v0.1.1 Jul 26, 2020 v0.1.0 Jul 26, 2020 Changes in this version + type Consumer interface + Get func() (string, error) + func NewEnvConsumer(envVar string) Consumer + type EnvConsumer struct + func (c *EnvConsumer) Get() (string, error) + type EnvStorage struct + func (s *EnvStorage) IsStored() (bool, error) + func (s *EnvStorage) Store(key string) error + type Manager struct + func NewManager(storage Storage, keySize int, rotationTime time.Duration) *Manager + func (m *Manager) Start(interrupt chan struct{}) error + func (m *Manager) Stop() + type MockConsumer struct + func (_m *MockConsumer) Get() (string, error) + type Storage interface + IsStored func() (bool, error) + Store func(key string) error + func NewEnvStorage(envVar string) Storage