api

package
v0.0.0-...-96e757f Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) chi.Router

Types

type Config

type Config struct {
	ApiKeyStore           database.ApiKeyStore
	BaseURL               string
	DispatchServer        dispatchserver.DispatchServer
	DeploymentStore       database.DeploymentStore
	InstallationClient    *gh.Client
	MetricsPath           string
	PSKValidator          func(http.Handler) http.Handler
	ProvisionKey          []byte
	TeamRepositoryStorage database.RepositoryTeamStore
	Projects              map[string]string
	LogLinkFormatter      logproxy.LogLinkFormatter
}

type Middleware

type Middleware func(http.Handler) http.Handler

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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