Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) Get(ctx context.Context, key string) (Value, error)
- func (s *Service) GetBoolSafe(ctx context.Context, key string, defaultValue bool) bool
- func (s *Service) GetStringsSafe(ctx context.Context, key string) []string
- func (s *Service) GetValueSafe(ctx context.Context, key, defaultValue string) Value
- func (s *Service) Set(ctx context.Context, key, value string) (Value, error)
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("registry item not found")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetBoolSafe ¶
func (*Service) GetStringsSafe ¶
func (*Service) GetValueSafe ¶
Click to show internal directories.
Click to hide internal directories.