Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service allows to add new article's sources. For example, a single article, or a feed.
func NewService ¶
func NewService( articlesService articlesService, feedsService feedsService, operationsService operationsService, fetch fetch.Fetcher) *Service
NewService returns new sources instance.
func (*Service) CreateSource ¶
func (s *Service) CreateSource(ctx context.Context, request *sources.CreateSourceRequest) (*longrunning.Operation, error)
CreateSource creates a new source.
Click to show internal directories.
Click to hide internal directories.