Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { SSHServer *sshsrv.SSHServer GitDaemon *daemon.GitDaemon HTTPServer *web.HTTPServer StatsServer *stats.StatsServer Cron *cron.CronScheduler Config *config.Config Backend backend.Backend // contains filtered or unexported fields }
Server is the Soft Serve server.
func NewServer ¶
NewServer returns a new *ssh.Server configured to serve Soft Serve. The SSH server key-pair will be created if none exists. An initial admin SSH public key can be provided with authKey. If authKey is provided, access will be restricted to that key. If authKey is not provided, the server will be publicly writable until configured otherwise by cloning the `config` repo.
Click to show internal directories.
Click to hide internal directories.