16 lines
		
	
	
		
			626 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			626 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package SystemMessages
 | |
| 
 | |
| // Message type for the startup message of Ocean's servers:
 | |
| 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?
 | |
| }
 |