Documentation ¶ Overview ¶ Package httpapi exposes the versioned git-ci service control API. Index ¶ Constants func New(config Config) (http.Handler, error) type API type Config 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 CommitTriggers *triggers.Manager } Source Files ¶ View all Source files annotations_web.goapi.goaudit.gocommit_triggers.gocompatibility.goconfiguration.goconfiguration_web.goenvironments.goexecution.goexecution_data.goexecution_web.golog_sections_web.gomanual_jobs.goreplay.gorollback.gorunners.goweb.go Click to show internal directories. Click to hide internal directories.