github_activity

package
v0.0.0-...-5643740 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(api *operations.EasyclaAPI, service Service)

Configure setups handlers on api with service

Types

type Service

type Service interface {
	ProcessInstallationRepositoriesEvent(event *github.InstallationRepositoriesEvent) error
	ProcessRepositoryEvent(*github.RepositoryEvent) error
}

Service is responsible for handling the github activity events

func NewService

func NewService(gitV1Repository repositories.RepositoryInterface,
	githubOrgRepo v1GithubOrg.RepositoryInterface,
	eventService events.Service,
	autoEnableService dynamo_events.AutoEnableService,
	emailService emails.Service) Service

NewService creates a new instance of the Event Handler Service

Jump to

Keyboard shortcuts

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