Documentation ¶
Index ¶
- Constants
- func Get(repo *shorten_bulk.ShortenBulkRepository, hash string, now time.Time) (*entities.ShortenBulkEntity, error)
- func GetStatus(repo *shorten_bulk.ShortenBulkRepository, hash string) (*entities.ShortenBulkEntity, error)
- func Post(repo *shorten_bulk.ShortenBulkRepository, ...) (string, error)
- func PostRandom(repo *shorten_bulk.ShortenBulkRepository, ...) (string, error)
Constants ¶
View Source
const ( ATTEMPTS = 31 OLDEST_SIZE = 101 )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(repo *shorten_bulk.ShortenBulkRepository, hash string, now time.Time) ( *entities.ShortenBulkEntity, error, )
func GetStatus ¶
func GetStatus(repo *shorten_bulk.ShortenBulkRepository, hash string) ( *entities.ShortenBulkEntity, error, )
func Post ¶
func Post( repo *shorten_bulk.ShortenBulkRepository, shortenBulk entities.ShortenBulkEntity, hash string, ) (string, error)
func PostRandom ¶
func PostRandom( repo *shorten_bulk.ShortenBulkRepository, shortenBulk entities.ShortenBulkEntity, ) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.