gitrepod

package module
v0.0.0-...-303aad7 Latest Latest
Warning

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

Go to latest
Published: May 17, 2015 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSSHAuthorizedKey

func LoadSSHAuthorizedKey(keyPath string) (ssh.PublicKey, error)

LoadSSHAuthorizedKey returns ssh pubkey from path

func SameSSHPubkeys

func SameSSHPubkeys(a, b ssh.PublicKey) bool

SameSSHPubkeys reports whether two publickey the same key.

Types

type GITRepoD

type GITRepoD struct {
	Address                 string
	Port                    int
	APIAddress              string
	APIPort                 int
	HostKey                 string
	RootDir                 string
	AuthHandler             func(conn ssh.ConnMetadata, key ssh.PublicKey, repo string) bool
	NewRevHandler           func(string) string
	OverwriteGitPostReceive bool
	// contains filtered or unexported fields
}

GITRepoD is git repository server

func (*GITRepoD) Start

func (g *GITRepoD) Start() error

Start starts daemon

Directories

Path Synopsis
samples

Jump to

Keyboard shortcuts

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