Documentation ¶
Overview ¶
Package storages allows multiple implementation on how to store short URLs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
func (*Filesystem) Code ¶
func (s *Filesystem) Code() string
func (*Filesystem) Init ¶
func (s *Filesystem) Init(root string) error
func (*Filesystem) Save ¶
func (s *Filesystem) Save(url string) string
Click to show internal directories.
Click to hide internal directories.