package
0.0.0-20240119223046-70c028e5fa4b
Repository: https://github.com/zendesk/term-check.git
Documentation: pkg.go.dev
# Functions
NewClient creates a new instance of Client, taking in Client options and creating a GitHub client.
NewServer creates a new instance of Server, taking in ServerOptions.
WithAppID sets client's GitHub app id.
WithEventHandler sets Server's eventHandler.
WithPrivateKeyPath sets client's privateKeyPath.
WithWebhookSecretKey sets Server's webhookSecretKey.
# Interfaces
EventHandler interface to allow hooking into GitHub events.
# Type aliases
ClientOption an option function to customize Client.
ServerOption an option function to customize Server.