Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP server
func (*Server) AddRepository ¶
AddRepository adds a new repository to the server and persists it
func (*Server) GetRepositories ¶
func (s *Server) GetRepositories() (map[string]*git.Repository, error)
GetRepositories returns all repositories
func (*Server) GetRepository ¶
GetRepository returns a repository by path
Click to show internal directories.
Click to hide internal directories.