Documentation
¶
Index ¶
- type RewindStore
- func (s *RewindStore) Init() error
- func (s *RewindStore) ReplaceMarkers(input string) (string, error)
- func (s *RewindStore) Retrieve(markerID string) (string, error)
- func (s *RewindStore) RetrieveByHash(hash string) (string, error)
- func (s *RewindStore) Size() (int, error)
- func (s *RewindStore) Stats() (map[string]interface{}, error)
- func (s *RewindStore) Store(original string, compressed string) (string, error)
- type StoredContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RewindStore ¶
type RewindStore struct {
// contains filtered or unexported fields
}
func NewRewindStore ¶
func NewRewindStore(db *sql.DB) *RewindStore
func (*RewindStore) Init ¶
func (s *RewindStore) Init() error
func (*RewindStore) ReplaceMarkers ¶
func (s *RewindStore) ReplaceMarkers(input string) (string, error)
func (*RewindStore) RetrieveByHash ¶
func (s *RewindStore) RetrieveByHash(hash string) (string, error)
func (*RewindStore) Size ¶
func (s *RewindStore) Size() (int, error)
func (*RewindStore) Stats ¶
func (s *RewindStore) Stats() (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.