Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type GithubWebhookInput ¶
type GithubWebhookInput struct { RawBody []byte Sha1SignatureHeader string `header:"X-Hub-Signature"` Sha256SignatureHeader string `header:"X-Hub-Signature-256"` EventType string `header:"X-GitHub-Event"` }
HandleGithubWebhook handles incoming GitHub webhooks.
type GithubWebhookOutput ¶
type GithubWebhookOutput struct { }
type HandleGithubAppSaveInput ¶
type HandleGithubAppSaveInput struct { Code string `query:"code" required:"true"` State string `query:"state" required:"true"` }
Connect the new github app to our instance, via manifest code exchange
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) HandleGithubAppSave ¶
func (self *HandlerGroup) HandleGithubAppSave(ctx context.Context, input *HandleGithubAppSaveInput) (*HandleGithubAppSaveResponse, error)
Save github app and redirect to installation
func (*HandlerGroup) HandleGithubWebhook ¶
func (self *HandlerGroup) HandleGithubWebhook(ctx context.Context, input *GithubWebhookInput) (*GithubWebhookOutput, error)
Click to show internal directories.
Click to hide internal directories.