Created
September 24, 2019 10:48
-
-
Save beber89/eeb522f8daf44d7923ca7c0c294e0e84 to your computer and use it in GitHub Desktop.
mine-dapp-wasm/chainfabric/node/struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Node represents a user in the network | |
// toIP is IP address of server to connect to | |
// toPort is Port address of server to connect to | |
// response is value unassignable by user, only read | |
type Node struct { | |
toIP string | |
toPort uint16 | |
response string | |
ws js.Value | |
newTransactionCallback func(string) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment