httpapi

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const RouteHealthz = "/healthz"

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(app fiber.Router, deps Dependencies, options Options)

Types

type Dependencies

type Dependencies struct {
	ServiceInfo      generated.Service
	Objects          *objectrecords.Service
	Transfers        *transfers.Service
	LFSPending       transferlfs.PendingStore
	UsageIngest      usage.Ingestor
	UsageReports     usage.Reporter
	Buckets          *buckets.Service
	ProjectInspector *projectstorage.Inspector
	ProjectCleanup   *projectstorage.ProjectCleanup
	ScopeRepair      *scoperepair.Service
	Authorization    *middleware.AuthzMiddleware
	RequestIDs       *middleware.RequestIDMiddleware
}

type Options

type Options struct {
	Docs        bool
	GA4GH       bool
	Metrics     bool
	Internal    bool
	LFS         bool
	LFSProtocol lfs.Options
}

Directories

Path Synopsis
Package drs translates object-domain values to and from the generated DRS contract at the HTTP boundary.
Package drs translates object-domain values to and from the generated DRS contract at the HTTP boundary.
Package lfs owns the generated Git LFS protocol conversions.
Package lfs owns the generated Git LFS protocol conversions.
Package middleware contains the Fiber request orchestration and context installation used by the API packages.
Package middleware contains the Fiber request orchestration and context installation used by the API packages.
Package records contains the HTTP adapter for Syfon's internal record representation.
Package records contains the HTTP adapter for Syfon's internal record representation.

Jump to

Keyboard shortcuts

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