Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlStorage ¶
type UrlStorage struct {
// contains filtered or unexported fields
}
func (*UrlStorage) GenerateShortUrl ¶
func (storage *UrlStorage) GenerateShortUrl(longUrl string) (string, error)
func (*UrlStorage) GetLongUrlByKey ¶
func (storage *UrlStorage) GetLongUrlByKey(key string) (string, error)
Click to show internal directories.
Click to hide internal directories.