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 RedirectRepository ¶
type RedirectService ¶
type RedirectService interface { Find(code string) (*t.Redirect, error) Store(redirect *t.Redirect) (string, error) }
func NewRedirectService ¶
func NewRedirectService(repository RedirectRepository, logger log.Logger) RedirectService
Click to show internal directories.
Click to hide internal directories.