servegit

package
v0.0.0-...-e9a6805 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	Name      string
	URI       string
	ClonePath string
}

type Serve

type Serve struct {
	Addr  string
	Root  string
	Info  *log.Logger
	Debug *log.Logger
}

func (*Serve) Repos

func (s *Serve) Repos() ([]Repo, error)

Repos returns a slice of all the git repositories it finds.

func (*Serve) Start

func (s *Serve) Start() error

Jump to

Keyboard shortcuts

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