Documentation
¶
Index ¶
- func CreateFirstPKTLine(service string) string
- func FindService(r *http.Request) string
- func FormatRepoName(repoName string) string
- func GetChildPipes(cmd *exec.Cmd, w http.ResponseWriter) (stdin io.WriteCloser, stdout, stderr io.ReadCloser, ok bool)
- func GetDefaultGitPath() string
- func GetDefaultReposPath() string
- func GetParamValues(r *http.Request) (string, string, string)
- func IsExistingRepository(path string) bool
- func Serve(ln net.Listener) error
- func SetHeader(w http.ResponseWriter, contentType string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFirstPKTLine ¶
func FindService ¶
func FormatRepoName ¶
func GetChildPipes ¶
func GetChildPipes(cmd *exec.Cmd, w http.ResponseWriter) (stdin io.WriteCloser, stdout, stderr io.ReadCloser, ok bool)
func GetDefaultGitPath ¶
func GetDefaultGitPath() string
func GetDefaultReposPath ¶
func GetDefaultReposPath() string
func IsExistingRepository ¶
func SetHeader ¶
func SetHeader(w http.ResponseWriter, contentType string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.