tls

package
v0.0.0-...-8d2645b Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSObfsClient

func NewTLSObfsClient(conn net.Conn, server string) net.Conn

NewTLSObfsClient return a SimpleObfs

func NewTLSObfsServer

func NewTLSObfsServer(conn net.Conn) net.Conn

Types

type TLSObfsClient

type TLSObfsClient struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*TLSObfsClient) Read

func (to *TLSObfsClient) Read(b []byte) (int, error)

func (*TLSObfsClient) Write

func (to *TLSObfsClient) Write(b []byte) (int, error)

type TLSObfsServer

type TLSObfsServer struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*TLSObfsServer) Read

func (tos *TLSObfsServer) Read(b []byte) (int, error)

func (*TLSObfsServer) Write

func (tos *TLSObfsServer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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