github

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	GithubSearchClient searchClient
	GithubUserClient   userClient
	CacheClient        cache.Client
	Config             config.Config
}

Provider represents the provider client

func NewProvider

func NewProvider(apiKey string, cfg config.Config, cacheClient cache.Client) Provider

NewProvider returns a new provider client

func (Provider) GetContentToPublish

func (p Provider) GetContentToPublish() (*domain.Content, error)

GetContentToPublish returns a string with the content to publish to be used by the publishers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL