httpapi

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package httpapi exposes the versioned git-ci service control API.

Index

Constants

View Source
const DefaultMaxBodyBytes int64 = 1 << 20

Variables

This section is empty.

Functions

func New

func New(config Config) (http.Handler, error)

Types

type API

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

type Config

type Config struct {
	Auth         *auth.Manager
	Store        *store.Store
	Projects     *projects.Registry
	StaticDir    string
	Version      string
	MaxBodyBytes int64
	Execution    *execution.Manager
	Secrets      *secrets.Manager
	Scheduler    *scheduler.Manager
	Webhooks     *webhooks.Manager
}

Jump to

Keyboard shortcuts

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