MCPcopy Create free account
hub / github.com/belak/gitdir / Server

Struct Server

ssh_server.go:18–28  ·  view source on GitHub ↗

Server represents a gitdir server.

Source from the content-addressed store, hash-verified

16
17// Server represents a gitdir server.
18type Server struct {
19 lock *sync.RWMutex
20
21 Addr string
22
23 // Internal state
24 log zerolog.Logger
25 fs billy.Filesystem
26 config *Config
27 ssh *ssh.Server
28}
29
30// NewServer configures a new gitdir server and attempts to load the config
31// from the admin repo.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected