Documentation
¶
Index ¶
- Variables
- type Service
- func (s *Service) Delete(key string)
- func (s *Service) Flush()
- func (s *Service) Get(key string, dest any) error
- func (s *Service) GetFloat(key string) float64
- func (s *Service) GetInt(key string) int
- func (s *Service) GetString(key string) string
- func (s *Service) IsDirty() bool
- func (s *Service) MarshalJSON() ([]byte, error)
- func (s *Service) Set(key string, v any) error
- func (s *Service) SetClean()
- func (s *Service) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("key not found")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) MarshalJSON ¶
func (*Service) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.