proxy

package
v0.0.0-...-a7746bf Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PRS_PER_PAGE int    = 100
	DATE_FORMAT  string = "2006-Jan-02"
)
View Source
var EVENTS_PER_PAGE int = 100
View Source
var REPORT_SEPERATOR string = strings.Repeat("*", 20)

Functions

func GenerateEventReport

func GenerateEventReport(events []*github.Event, repo string)

Types

type GithubProxy

type GithubProxy struct {
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy() (GithubProxy, error)

func (*GithubProxy) GetEventsForDate

func (p *GithubProxy) GetEventsForDate(org string, repos []string, dateString string)

func (*GithubProxy) GetEventsForHours

func (p *GithubProxy) GetEventsForHours(org string, repos []string, hours int)

func (*GithubProxy) GetEventsSinceRFC3339

func (p *GithubProxy) GetEventsSinceRFC3339(org string, repos []string, sinceString string)

func (*GithubProxy) GetPullRequests

func (p *GithubProxy) GetPullRequests(org, repo string)

func (*GithubProxy) GetReposForOrg

func (p *GithubProxy) GetReposForOrg(org string) []string

Jump to

Keyboard shortcuts

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