Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRedirectNotFound = errors.New("Redirect Not Found") ErrRedirectInvalid = errors.New("Redirect Invalid") )
Functions ¶
This section is empty.
Types ¶
type RedirectRepo ¶
type RedirectSerializer ¶
type RedirectService ¶
type RedirectService interface { Find(code string) (*Redirect, error) Store(redirect *Redirect) error }
func NewRedirectService ¶
func NewRedirectService(redirectRepo RedirectRepo) RedirectService
Click to show internal directories.
Click to hide internal directories.