Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlProvider ¶
type UrlProvider struct {
// contains filtered or unexported fields
}
func NewUrlProvider ¶
func NewUrlProvider( baseUrl string, ) *UrlProvider
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator( repository domain.LinkRepository, ) *Validator
func (Validator) ValidateLocation ¶
func (v Validator) ValidateLocation(location string) kontrakto.ValidationResult
func (Validator) ValidateToken ¶
func (v Validator) ValidateToken(token string) kontrakto.ValidationResult
Click to show internal directories.
Click to hide internal directories.