Documentation ¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) Delete(shortCode string) error
- func (s *Store) GetShortCode(destination string) (string, error)
- func (s *Store) GetURL(shortCode string) (models.URL, error)
- func (s *Store) Health() bool
- func (s *Store) Open() error
- func (s *Store) SetURL(shortCode, url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.