Cleanup, hub updates
This commit is contained in:
		
							
								
								
									
										35
									
								
								m/models.go
									
									
									
									
									
								
							
							
						
						
									
										35
									
								
								m/models.go
									
									
									
									
									
								
							| @@ -2,28 +2,25 @@ | ||||
| package m | ||||
|  | ||||
| type PeerConfig struct { | ||||
| 	PeerIP      byte | ||||
| 	HubAddress  string | ||||
| 	Network     []byte | ||||
| 	APIKey      string | ||||
| 	PublicIP    []byte | ||||
| 	Port        uint16 | ||||
| 	Mediator    bool | ||||
| 	EncPubKey   []byte | ||||
| 	EncPrivKey  []byte | ||||
| 	SignPubKey  []byte | ||||
| 	SignPrivKey []byte | ||||
| 	PeerIP     byte | ||||
| 	HubAddress string | ||||
| 	Network    []byte | ||||
| 	APIKey     string | ||||
| 	PublicIP   []byte | ||||
| 	Port       uint16 | ||||
| 	Relay      bool | ||||
| 	PubKey     []byte | ||||
| 	PrivKey    []byte | ||||
| } | ||||
|  | ||||
| type Peer struct { | ||||
| 	PeerIP     byte | ||||
| 	Version    int64 | ||||
| 	Name       string | ||||
| 	PublicIP   []byte | ||||
| 	Port       uint16 | ||||
| 	Mediator   bool | ||||
| 	EncPubKey  []byte | ||||
| 	SignPubKey []byte | ||||
| 	PeerIP   byte | ||||
| 	Version  int64 | ||||
| 	Name     string | ||||
| 	PublicIP []byte | ||||
| 	Port     uint16 | ||||
| 	Relay    bool | ||||
| 	PubKey   []byte | ||||
| } | ||||
|  | ||||
| type NetworkState struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user