Documentation ¶ Index ¶ func Upgrade(c net.Conn, cip cipher.Stream) sconn.SConn type StreamSConn func (ssc *StreamSConn) Read(b []byte) (n int, err error) func (ssc *StreamSConn) Write(b []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Upgrade ¶ func Upgrade(c net.Conn, cip cipher.Stream) sconn.SConn Types ¶ type StreamSConn ¶ type StreamSConn struct { net.Conn // contains filtered or unexported fields } func (*StreamSConn) Read ¶ func (ssc *StreamSConn) Read(b []byte) (n int, err error) func (*StreamSConn) Write ¶ func (ssc *StreamSConn) Write(b []byte) (n int, err error) Source Files ¶ View all Source files stream_conn.go Directories ¶ Show internal Expand all Path Synopsis aes_ctr_upgrader chacha20_upgrader Click to show internal directories. Click to hide internal directories.