Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
client
command
Package main provides a command-line client for subscribing to GitHub webhook events via WebSocket connections to a webhook sprinkler server.
|
Package main provides a command-line client for subscribing to GitHub webhook events via WebSocket connections to a webhook sprinkler server. |
server
command
Package main implements githooksock, a GitHub webhook listener that provides WebSocket subscriptions for pull request events to interested clients.
|
Package main implements githooksock, a GitHub webhook listener that provides WebSocket subscriptions for pull request events to interested clients. |
pkg
|
|
client
Package client provides a robust WebSocket client for connecting to webhook sprinkler servers.
|
Package client provides a robust WebSocket client for connecting to webhook sprinkler servers. |
github
Package github provides client functionality for interacting with the GitHub API, including user authentication and organization validation.
|
Package github provides client functionality for interacting with the GitHub API, including user authentication and organization validation. |
hub
Package hub provides a WebSocket hub for managing client connections and broadcasting GitHub webhook events to subscribed clients based on their subscription criteria.
|
Package hub provides a WebSocket hub for managing client connections and broadcasting GitHub webhook events to subscribed clients based on their subscription criteria. |
logger
Package logger provides structured logging utilities with field support for better debugging and monitoring of webhook sprinkler operations.
|
Package logger provides structured logging utilities with field support for better debugging and monitoring of webhook sprinkler operations. |
security
Package security provides security middleware and utilities including connection limiting, rate limiting, CORS handling, and GitHub IP validation.
|
Package security provides security middleware and utilities including connection limiting, rate limiting, CORS handling, and GitHub IP validation. |
webhook
Package webhook provides HTTP handlers for processing GitHub webhook events, including signature validation and event extraction for broadcasting to subscribers.
|
Package webhook provides HTTP handlers for processing GitHub webhook events, including signature validation and event extraction for broadcasting to subscribers. |
Click to show internal directories.
Click to hide internal directories.