improving client/server info command

This commit is contained in:
2020-06-07 18:31:01 -04:00
parent dd3fd7c4ae
commit 6d738b138d
12 changed files with 72 additions and 31 deletions

View File

@@ -10,3 +10,12 @@ type GVCServer struct {
Config config.GvcServerConfig //contains our full server config
Echo *echo.Echo // Contains our web server instance
}
// RepoInfoRequest is for when a client requests info about a repo
type RepoInfoRequest struct {
Version string
Port int // The port that the server will listed on
BindIP string // What IP to bind the server to. If empty will bind to all interfaces
RawPort int // The optional TCP port that the server will send raw files over
Repo config.RepoConfig //IMPORTANT: We need to blank out the client keys when sending
}