events: Index | Files

package githubapi

import ""

Package githubapi implements events.Service using GitHub API client.


Package Files


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 "".

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

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