package
Version:
v0.0.0-...-e487a75
Opens a new window with list of versions in this module.
Published: Aug 11, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ValidateGitHubSignature 验证GitHub webhook签名
signature: 来自请求头 X-Hub-Signature-256 的签名
payload: 请求体的原始数据
secret: webhook配置的secret
ValidateGitHubSignatureSHA1 验证GitHub webhook签名 (SHA1, 已弃用但仍支持)
signature: 来自请求头 X-Hub-Signature 的签名
payload: 请求体的原始数据
secret: webhook配置的secret
Source Files
¶
Click to show internal directories.
Click to hide internal directories.