block

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL