Versions in this module Expand all Collapse all v1 v1.0.10 Sep 19, 2016 v1.0.0 Sep 18, 2016 Changes in this version + type Socket struct + func Handshake(plain net.Conn, mysk natrium.ECDHPrivate) (sok *Socket, err error) + func (sk *Socket) Close() error + func (sk *Socket) LocalAddr() net.Addr + func (sk *Socket) LocalSK() natrium.ECDHPrivate + func (sk *Socket) Read(p []byte) (n int, err error) + func (sk *Socket) RemoteAddr() net.Addr + func (sk *Socket) RemotePK() natrium.ECDHPublic + func (sk *Socket) SetDeadline(t time.Time) error + func (sk *Socket) SetReadDeadline(t time.Time) error + func (sk *Socket) SetWriteDeadline(t time.Time) error + func (sk *Socket) Write(p []byte) (n int, err error)