Versions in this module Expand all Collapse all v0 v0.5.1 May 13, 2015 Changes in this version + const FETCH + const PUSH + const PUSH_FORCE + const TAG + type ErrorNoAccess struct + Dir string + func (e *ErrorNoAccess) Error() string + type Event struct + Branch string + Commit string + Dir string + Error error + Last string + Request *http.Request + Tag string + Type EventType + type EventType int + func (e EventType) MarshalJSON() ([]byte, error) + func (e EventType) String() string + func (e EventType) UnmarshalJSON(data []byte) error + type GitHttp struct + EventHandler func(ev Event) + GitBinPath string + ProjectRoot string + ReceivePack bool + UploadPack bool + func New(root string) *GitHttp + func (g *GitHttp) Init() (*GitHttp, error) + func (g *GitHttp) ServeHTTP(w http.ResponseWriter, r *http.Request) + type GitReader struct + GitError error + func (g *GitReader) Read(p []byte) (n int, err error) + type HandlerReq struct + Dir string + File string + Rpc string + type RpcReader struct + Events []Event + Rpc string + func (r *RpcReader) Read(p []byte) (n int, err error) + type Service struct + Handler func(HandlerReq) error + Method string + Rpc string