Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd has the webhooks' commands and flags
|
Package cmd has the webhooks' commands and flags |
|
Package httpclient is a client of the webhooks' HTTP API
|
Package httpclient is a client of the webhooks' HTTP API |
|
Package httphandler has the webhooks' HTTP API, which lists, creates, gets, changes and deletes them, and lists their calls, and the URL which services call
|
Package httphandler has the webhooks' HTTP API, which lists, creates, gets, changes and deletes them, and lists their calls, and the URL which services call |
|
Package protocol is how services call webhooks: the Protocol interface, and the factory of the protocols, each of which is a package of its own, in this folder, such as github.
|
Package protocol is how services call webhooks: the Protocol interface, and the factory of the protocols, each of which is a package of its own, in this folder, such as github. |
|
aftership
Package aftership is AfterShip Tracking's webhook protocol: its calls are signed, with the account's webhook secret, in aftership-hmac-sha256, and say what happened, and their delivery, in the body's event, and event_id
|
Package aftership is AfterShip Tracking's webhook protocol: its calls are signed, with the account's webhook secret, in aftership-hmac-sha256, and say what happened, and their delivery, in the body's event, and event_id |
|
common
Package common has what the webhook protocols share: their bodies as JSON values, signatures compared in constant time, and a JSON object's fields
|
Package common has what the webhook protocols share: their bodies as JSON values, signatures compared in constant time, and a JSON object's fields |
|
generic
Package generic is the webhook protocol of a service which has none of its own: its calls are verified by the secret, as a bearer token, when the service can send one, and say nothing of what happened
|
Package generic is the webhook protocol of a service which has none of its own: its calls are verified by the secret, as a bearer token, when the service can send one, and say nothing of what happened |
|
github
Package github is GitHub's webhook protocol: its calls are signed, with the secret, in X-Hub-Signature-256, say what happened in X-GitHub-Event, and the body's action, and their delivery in X-GitHub-Delivery.
|
Package github is GitHub's webhook protocol: its calls are signed, with the secret, in X-Hub-Signature-256, say what happened in X-GitHub-Event, and the body's action, and their delivery in X-GitHub-Delivery. |
|
pidgeon
Package pidgeon is Pidgeon's webhook protocol: its calls are signed, with the endpoint's whsec_ secret, in Pidgeon-Signature, as t=<seconds>,v1=<hex HMAC-SHA256 of "<t>.<body>">, which is too old after five minutes, say what happened in Pidgeon-Event, and the body's type, and their delivery in the body's id
|
Package pidgeon is Pidgeon's webhook protocol: its calls are signed, with the endpoint's whsec_ secret, in Pidgeon-Signature, as t=<seconds>,v1=<hex HMAC-SHA256 of "<t>.<body>">, which is too old after five minutes, say what happened in Pidgeon-Event, and the body's type, and their delivery in the body's id |
|
Package registry is the registry of webhooks: they're registered, for a session, with the protocol of the service which calls them, and listed, changed, and deleted, and their calls are received, and kept, in its store
|
Package registry is the registry of webhooks: they're registered, for a session, with the protocol of the service which calls them, and listed, changed, and deleted, and their calls are received, and kept, in its store |
|
Package schema has the webhooks: what each is, by its serial number, the session its calls are for, and its description
|
Package schema has the webhooks: what each is, by its serial number, the session its calls are for, and its description |
|
Package store is where webhooks are kept, such as in files, or a database, so they're kept when the server restarts
|
Package store is where webhooks are kept, such as in files, or a database, so they're kept when the server restarts |
|
sqlite
Package sqlite is a store of webhooks, and their calls, in a SQLite database, which is created when it doesn't exist, or in memory, of sqlite.Memory, such as for tests
|
Package sqlite is a store of webhooks, and their calls, in a SQLite database, which is created when it doesn't exist, or in memory, of sqlite.Memory, such as for tests |
|
sqlite/schema
Package schema is the schema of the SQLite store of webhooks: its tables, its queries, and the types which are read from, and written to, them
|
Package schema is the schema of the SQLite store of webhooks: its tables, its queries, and the types which are read from, and written to, them |
Click to show internal directories.
Click to hide internal directories.