Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRoutes ¶
func LoadRoutes(r chi.Router, config config.Config, store *store.PostgresStore)
Types ¶
type PostgresRepository ¶
type PostgresRepository struct {
// contains filtered or unexported fields
}
func GetNewRlinkRepository ¶
func GetNewRlinkRepository(store *store.PostgresStore) *PostgresRepository
func (*PostgresRepository) GetLinkByCode ¶
type RedirectionsHandler ¶
type RedirectionsHandler struct {
// contains filtered or unexported fields
}
func (RedirectionsHandler) GetLinkByCode ¶
func (l RedirectionsHandler) GetLinkByCode(w http.ResponseWriter, r *http.Request)
type RedirectionsService ¶
type RedirectionsService struct {
Repository redirectionsRepository
}
func (*RedirectionsService) GetLinkByCode ¶
Click to show internal directories.
Click to hide internal directories.