improving client/server info command
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user