crypto

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

func NewConn

func NewConn(conn net.Conn, key string) (*Conn, error)

func (*Conn) Close

func (self *Conn) Close() error

func (*Conn) LocalAddr

func (self *Conn) LocalAddr() net.Addr

func (*Conn) Read

func (self *Conn) Read(b []byte) (n int, err error)

func (*Conn) RemoteAddr

func (self *Conn) RemoteAddr() net.Addr

func (*Conn) SetDeadline

func (self *Conn) SetDeadline(t time.Time) error

func (*Conn) SetReadDeadline

func (self *Conn) SetReadDeadline(t time.Time) error

func (*Conn) SetWriteDeadline

func (self *Conn) SetWriteDeadline(t time.Time) error

func (*Conn) Write

func (self *Conn) Write(b []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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