ui

package
v0.5.24 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubAppService

type GithubAppService interface {
	CreateApp(context.Context, github.CreateAppOptions) (*github.App, error)
	GetApp(context.Context) (*github.App, error)
	DeleteApp(context.Context) error
	ListInstallations(context.Context) ([]vcs.Installation, error)
	DeleteInstallation(context.Context, int64) error
}

type Handlers

type Handlers struct {
	GithubApp           GithubAppService
	Hostnames           HostnameService
	GithubHostname      *internal.WebURL
	Authorizer          authz.Interface
	SkipTLSVerification bool
}

func NewHandlers

func NewHandlers(
	githubApp GithubAppService,
	hostnames HostnameService,
	githubHostname *internal.WebURL,
	skipTLSVerification bool,
	authorizer authz.Interface,
) *Handlers

func (*Handlers) AddHandlers

func (h *Handlers) AddHandlers(r *mux.Router)

type HostnameService

type HostnameService interface {
	URL(path string) string
	WebhookURL(path string) string
}

Jump to

Keyboard shortcuts

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