events: github.com/shurcooL/events/githubapi Index | Files

package githubapi

import "github.com/shurcooL/events/githubapi"

Package githubapi implements events.Service using GitHub API client.

Index

Package Files

githubapi.go

func NewService Uses

func NewService(clientV3 *githubv3.Client, clientV4 *githubv4.Client, user users.User, router github.Router) (events.Service, error)

NewService creates a GitHub-backed events.Service using given GitHub client. It fetches events only for the specified user. user.Domain must be "github.com".

If router is nil, github.DotCom router is used, which links to subjects on github.com.

Package githubapi imports 18 packages (graph) and is imported by 1 packages. Updated 2018-05-09. Refresh now. Tools for package owners.