Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SendArchive = &archive{"git-archive:"}
View Source
var SendBlob = &blob{"git-blob:"}
View Source
var SendDiff = &diff{"git-diff:"}
View Source
var SendPatch = &patch{"git-format-patch:"}
Functions ¶
Types ¶
type GitHttpResponseWriter ¶ added in v1.2.1
type GitHttpResponseWriter struct {
// contains filtered or unexported fields
}
func NewGitHttpResponseWriter ¶ added in v1.2.1
func NewGitHttpResponseWriter(rw http.ResponseWriter) *GitHttpResponseWriter
func (*GitHttpResponseWriter) Header ¶ added in v1.2.1
func (w *GitHttpResponseWriter) Header() http.Header
func (*GitHttpResponseWriter) Log ¶ added in v1.2.1
func (w *GitHttpResponseWriter) Log(r *http.Request, writtenIn int64)
func (*GitHttpResponseWriter) Write ¶ added in v1.2.1
func (w *GitHttpResponseWriter) Write(data []byte) (n int, err error)
func (*GitHttpResponseWriter) WriteHeader ¶ added in v1.2.1
func (w *GitHttpResponseWriter) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.