package
1.2.0-rc1
Repository: https://github.com/adelowo/gitea.git
Documentation: pkg.go.dev

# Functions

BatchHandler provides the batch api.
ContentMatcher provides a mux.MatcherFunc that only allows requests that contain an Accept header with the contentMediaType.
GetContentHandler gets the content from the content store.
GetMetaHandler retrieves metadata about the object.
MetaMatcher provides a mux.MatcherFunc that only allows requests that contain an Accept header with the metaMediaType.
ObjectOidHandler is the main request routing entry point into LFS server functions.
PostHandler instructs the client how to upload data.
PutHandler receives data from the client and puts it into the content store.
Represent takes a RequestVars and Meta and turns it into a Representation suitable for json encoding.

# Structs

BatchResponse contains multiple object metadata Representation structures for use with the batch API.
BatchVars contains multiple RequestVars processed in one batch operation.
ContentStore provides a simple file system based storage.
ObjectError defines the JSON structure returned to the client in case of an error.
Representation is object metadata as seen by clients of the lfs server.
RequestVars contain variables from the HTTP request.