git

package
v0.0.0-...-a20a788 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2015 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Adapted from https://code.csdn.net/flycutter/git-http-backend

Adapted from https://code.csdn.net/flycutter/git-http-backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.HandlerFunc

func InitializeProject

func InitializeProject(project *orbit.Project) (projectPath string, err error)

func SetConfig

func SetConfig(c Config)

Types

type Config

type Config struct {
	ProjectRoot string
	GitBinPath  string
	UploadPack  bool
	ReceivePack bool
}

type Service

type Service struct {
	Method  string
	Handler func(handlerReq)
	RPC     string
}

Jump to

Keyboard shortcuts

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