Add possibility to provide version (#46)
This commit is contained in:
1 parent
44b236e2ef
commit
20b93f42d4
17 files changed
+122
-4
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package SystemMessages
|
||||
|
||||
// Requests the version from a Ocean server
|
||||
type ICCCGetVersion struct {
|
||||
}
|
||||
|
||||
// Answer to the version request
|
||||
type ICCCGetVersionAnswer struct {
|
||||
Kind string // Ocean || Component
|
||||
Name string // Ocean: Hostname; Components: Name
|
||||
Version string // The current version
|
||||
}
|
||||
@@ -4,9 +4,12 @@ package SystemMessages
|
||||
type ICCCOceanStartUpMessage struct {
|
||||
PublicIPAddressPort string // The public web server's IP address and port
|
||||
AdminIPAddressPort string // The private admin server's IP address and port
|
||||
OceanVersion string // The current version of this server
|
||||
}
|
||||
|
||||
// Message type for a startup message for external components:
|
||||
type ICCCComponentStartUpMessage struct {
|
||||
IPAddressPort string // The component's ICCC IP address and port
|
||||
Name string // What is the name of this component?
|
||||
Version string // Which version is used?
|
||||
}
|
||||
Reference in new issue
Block a user