Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMongoRepository ¶
func NewMongoRepository(url, mongoDB string, timeout int) (shortener.RedirectRepository, error)
NewMongoRepository creates and returns a new MongoDB repository.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.