onion

package
v0.0.0-...-a77e882 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindListener

func BindListener(ctc *control.Conn, ks *KeySet, kp *proto.KeyPair) (net.Listener, error)

func CreateDialer

func CreateDialer(ctc *control.Conn) (proxy.Dialer, error)

Types

type KeySet

type KeySet struct {
	TorKeyType  string
	TorKeyData  string
	AuthPubKey  string
	AuthPrivKey string
}

func NewKeySet

func NewKeySet(crng io.Reader) (*KeySet, error)

func (*KeySet) Blob

func (kp *KeySet) Blob() string

func (*KeySet) Type

func (kp *KeySet) Type() control.KeyType

Jump to

Keyboard shortcuts

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