Skip to content

Instantly share code, notes, and snippets.

@beber89
Created September 24, 2019 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beber89/eeb522f8daf44d7923ca7c0c294e0e84 to your computer and use it in GitHub Desktop.
Save beber89/eeb522f8daf44d7923ca7c0c294e0e84 to your computer and use it in GitHub Desktop.
mine-dapp-wasm/chainfabric/node/struct
// 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