Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
githubapp.ClientCreator
Installations githubapp.InstallationsService
BaseConfig *baseapp.HTTPConfig
Options *DashboardOptions
// Database connection
DB *sql.DB
// WebSocket hub for real-time updates
WSHub *websocket.Hub
AppName string
}
Base provides common dependencies for all handlers
type CheckRunHandler ¶
type CheckRunHandler struct {
Base
}
CheckRunHandler processes check_run webhook events
func (*CheckRunHandler) Handles ¶
func (h *CheckRunHandler) Handles() []string
Handles returns the GitHub event types this handler processes
type DashboardOptions ¶
DashboardOptions contains runtime configuration
type InstallationHandler ¶
type InstallationHandler struct {
Base
}
InstallationHandler processes installation webhook events
func (*InstallationHandler) Handle ¶
func (h *InstallationHandler) Handle(ctx context.Context, eventType, _ string, payload []byte) error
Handle processes installation webhook events
func (*InstallationHandler) Handles ¶
func (h *InstallationHandler) Handles() []string
Handles returns the GitHub event types this handler processes
type WorkflowRunHandler ¶
type WorkflowRunHandler struct {
Base
}
WorkflowRunHandler processes workflow_run webhook events
func (*WorkflowRunHandler) Handles ¶
func (h *WorkflowRunHandler) Handles() []string
Handles returns the GitHub event types this handler processes
Click to show internal directories.
Click to hide internal directories.