I hereby claim:
- I am spikebike on github.
- I am broadley (https://keybase.io/broadley) on keybase.
- I have a public key whose fingerprint is B02D 3D10 B88A EC20 B774 BE18 C215 0DB0 77E1 EDEA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Wow, everytime I think I'm done. I find another hurdle. | |
Client and server are identical for my uses. So both client and server | |
should track the public key of their peers. So Server/Client handshake | |
can track who I'm talking to, last time I saw them, IP address, and public key. | |
Now when an RPC call is made I want to use UnaryServerInterceptor and | |
StreamServerInterceptor to allow every call to check if the Peer has | |
been tracked, if not look up the public key and set the PeerID. | |
peerID, ok := ctx.Value(peerIDKey).(int) |