Documentation ¶
Index ¶
- type Service
- func (s *Service) Del(ctx context.Context, key string) error
- func (s *Service) Get(ctx context.Context, key string) (string, bool, error)
- func (s *Service) GetLastUpdated(ctx context.Context) (*time.Time, error)
- func (s *Service) ListKeys(ctx context.Context) ([]string, error)
- func (s *Service) Set(ctx context.Context, key string, value string) error
- func (s *Service) SetLastUpdated(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a service for storing and retrieving public keys.
func ProvideService ¶
func (*Service) GetLastUpdated ¶
Click to show internal directories.
Click to hide internal directories.