Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Addr string
RepoRoot string
HostKeyPath string
AuthorizedKeysPath string
UploadPackPath string
ReceivePackPath string
BaseEnv []string
GracefulTimeout time.Duration
}
Server exposes a minimal SSH endpoint that only accepts git-upload-pack and git-receive-pack. Public key authentication is enforced via an authorized_keys file.
Click to show internal directories.
Click to hide internal directories.