Documentation ¶
Index ¶
- Variables
- func ActionRoute(c *cli.Context) error
- func IsValidGithubSignature(secret string, message []byte) bool
- func MustMakeHeader(target *url.URL, origin string, headerStrings []string) http.Header
- func MustParseHeader(header string) (string, string)
- func MustParseHeaders(headerStrings []string) http.Header
- func SecureEqual(x, y string) bool
- func Sha1HMAC(key string, payload []byte) string
- type Event
- type Pusher
- type Repository
- type Router
Constants ¶
This section is empty.
Variables ¶
View Source
var RegexParseHeader = regexp.MustCompile("^\\s*([^\\:]+)\\s*:\\s*(.*)$")
Functions ¶
func ActionRoute ¶
func ActionRoute(c *cli.Context) error
func IsValidGithubSignature ¶
func MustMakeHeader ¶
func MustParseHeader ¶
func MustParseHeaders ¶
func SecureEqual ¶
Types ¶
type Event ¶
type Repository ¶
type Repository struct {
FullName string `json:"full_name"`
}
Click to show internal directories.
Click to hide internal directories.