Documentation ¶
Index ¶
Constants ¶
View Source
const ( CTCSV = "text/csv" CTJSON = "application/json" CTBlocksBinary = "application/x-wrgl-blocks-binary" PathCommit = "/commits/" )
View Source
const ( ReceivePackSessionCookie = "receive-pack-session-id" CTReceivePackResult = "application/x-wrgl-receive-pack-result" )
View Source
const ( // UploadPackSessionCookie identifies upload-pack session UploadPackSessionCookie = "upload-pack-session-id" // CTUploadPackResult is content type for upload pack result CTUploadPackResult = "application/x-wrgl-upload-pack-result" // CTPackfile is content type for packfile CTPackfile = "application/x-wrgl-packfile" // PurgeUploadPackSessionHeader is a trailer header that is set to "true" // at the end of an upload pack session. Upon seeing this any in-between proxy // should purge sticky session related to UploadPackSessionCookie PurgeUploadPackSessionHeader = "Wrgl-Purge-Upload-Pack-Session" )
View Source
const PathReceivePack = "/receive-pack/"
View Source
const PathRefs = "/refs/"
View Source
const PathUploadPack = "/upload-pack/"
Variables ¶
This section is empty.
Functions ¶
func NewBadRequestError ¶
Types ¶
type BadRequestError ¶
type BadRequestError struct {
Message string
}
func (*BadRequestError) Error ¶
func (e *BadRequestError) Error() string
Click to show internal directories.
Click to hide internal directories.