manifest

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGithubApp

func CreateGithubApp(c Config) (*githubclient.AppConfig, error)

Types

type Config

type Config struct {
	AppConfig         provider.AppConfig
	Port              int
	Host              string
	ReadHeaderTimeout time.Duration
	Organization      string
}

type Flow

type Flow struct {
	// contains filtered or unexported fields
}

type Manifest

type Manifest struct {
	Name         string            `json:"name"`
	Permissions  map[string]string `json:"default_permissions,omitempty"`
	RedirectURL  string            `json:"redirect_url"`
	CallbackURLs []string          `json:"callback_urls"`
	URL          string            `json:"url"`
}

func NewManifest

func NewManifest(config provider.AppConfig) Manifest

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

func (*Renderer) Render

func (r *Renderer) Render(location string, w http.ResponseWriter, data any) error

type Template

type Template struct {
	URL     string
	Content string
}

Jump to

Keyboard shortcuts

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