github

package
v0.0.0-...-cc56acc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(inputMap map[string]string, resCh chan AppResult) func(w http.ResponseWriter, r *http.Request)

Types

type AppResult

type AppResult struct {
	ID            int    `json:"id"`
	PEM           string `json:"pem"`
	URL           string `json:"html_url"`
	Name          string `json:"name"`
	WebhookSecret string `json:"webhook_secret"`
}

type AppTemplate

type AppTemplate struct {
	AppID         string
	AppURL        string
	AppName       string
	PEM           string
	WebhookSecret string
	Response      string
}

type CodeReq

type CodeReq struct {
	Code string `json:"code"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL