githubapi

package
v0.0.0-...-f564348 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package githubapi implements events.Service using GitHub API client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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