Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIDNotFound = errors.New("feed by id not found")
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient interface for get content by URL.
type Matcher ¶
type Middleware ¶
type MiddlewareFunc ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(configs []Config, client HTTPClient) *Repository
func (*Repository) IDs ¶
func (r *Repository) IDs() []string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(configs []Config, client HTTPClient, middlewares []Middleware) *Service
Click to show internal directories.
Click to hide internal directories.