go-xmpp icon indicating copy to clipboard operation
go-xmpp copied to clipboard

Using channels?

Open parmegv opened this issue 14 years ago • 1 comments

Would it be possible just to create a channel between the server and the client, and the other client as well? Then code would be much cleaner and security would be enhanced, since everything would rely just in the security of the channel.

I do not know if it is able to modify security properties of channels in order to establish some authentication methods and cipherings in the very communications.

Look at this netchan example: https://github.com/qrush/go/blob/master/experiments/netchan/test/main.go

parmegv avatar May 30 '11 21:05 parmegv

To use channel, while parsing xml, we must know what the next tag is, and we must receive data from channel with comming interface. Probably, it's diffcaul.

mattn avatar Oct 12 '11 02:10 mattn