Documentation
¶
Index ¶
- type Store
- func (s *Store) Clear()
- func (s *Store) Data(name string) ([]byte, error)
- func (s *Store) Dir() string
- func (s *Store) Remove(name string) error
- func (s *Store) Run()
- func (s *Store) SetDirectory(dir string)
- func (s *Store) SetDuration(duration time.Duration)
- func (s *Store) SetLifetime(lifetime time.Duration)
- func (s *Store) SetMaxFileSize(size int)
- func (s *Store) Store(name string, data []byte) error
- func (s *Store) UpdateTime(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) SetDirectory ¶
func (*Store) SetDuration ¶
func (*Store) SetLifetime ¶
func (*Store) SetMaxFileSize ¶
func (*Store) UpdateTime ¶
Click to show internal directories.
Click to hide internal directories.