Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedirectAPIHandler ¶
func NewRedirectAPIHandler(service RedirectService) chi.Router
func NewRedirectHandler ¶
func NewRedirectHandler(service RedirectService) chi.Router
Types ¶
type RedirectAPIHandler ¶
type RedirectAPIHandler struct {
// contains filtered or unexported fields
}
type RedirectHandler ¶
type RedirectHandler struct {
// contains filtered or unexported fields
}
type RedirectService ¶
type RedirectService struct {
// contains filtered or unexported fields
}
func NewRedirectService ¶
func NewRedirectService(db DB) RedirectService
type RepositoryImpl ¶
type RepositoryImpl struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *sqlx.DB) RepositoryImpl
type URLRequest ¶
type URLRequest struct {
URL string `json:"url"`
}
type URLResponse ¶
Click to show internal directories.
Click to hide internal directories.