service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryService

type RepositoryService struct {
	QueryParameters *model.QueryParameters

	*github.Client
	// contains filtered or unexported fields
}

func NewRepositoryService

func NewRepositoryService(token string, params *model.QueryParameters) *RepositoryService

func (*RepositoryService) Query

func (rs *RepositoryService) Query() ([]*model.Repository, error)

Query is a method of the RepositoryService struct. It queries GitHub repositories based on the provided query parameters. It retrieves detailed information about the repositories and returns the result as a slice of model.Repository structs.

func (*RepositoryService) Stop

func (rs *RepositoryService) Stop()

Stop is a method of the RepositoryService struct. It stops the service by closing the stop channel.

Jump to

Keyboard shortcuts

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