github

package
v0.0.0-...-be290e4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents a GitHub API client

func New

func New(cfg *config.Config, log *logger.Logger) (*Client, error)

New creates a new GitHub client

func (*Client) ScanOrganization

func (gc *Client) ScanOrganization(org string, languages []string, safeSpaces []string, maxRepos int, deep bool) ([]*types.ScanResult, error)

ScanOrganization scans all repositories in a GitHub organization

func (*Client) ScanRepository

func (gc *Client) ScanRepository(repo string, languages []string, safeSpaces []string, deep bool) ([]*types.ScanResult, error)

ScanRepository scans a specific GitHub repository

Jump to

Keyboard shortcuts

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