Documentation ¶ Index ¶ type BlockModeGetter type BlockSConn func Upgrade(conn net.Conn, cip cipher.Block, eg, dg BlockModeGetter) *BlockSConn func (s *BlockSConn) Read(b []byte) (int, error) func (s *BlockSConn) Write(b []byte) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type BlockModeGetter ¶ type BlockModeGetter func(cipher.Block, []byte) cipher.BlockMode type BlockSConn ¶ type BlockSConn struct { net.Conn // contains filtered or unexported fields } func Upgrade ¶ func Upgrade(conn net.Conn, cip cipher.Block, eg, dg BlockModeGetter) *BlockSConn func (*BlockSConn) Read ¶ func (s *BlockSConn) Read(b []byte) (int, error) func (*BlockSConn) Write ¶ func (s *BlockSConn) Write(b []byte) (int, error) Source Files ¶ View all Source files block.go Directories ¶ Show internal Expand all Path Synopsis aes_cbc_upgrader Click to show internal directories. Click to hide internal directories.