visitor

package
v0.52.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager for visitor listeners.

func NewManager

func NewManager() *Manager

func (*Manager) CloseListener

func (vm *Manager) CloseListener(name string)

func (*Manager) Listen

func (vm *Manager) Listen(name string, sk string, allowUsers []string) (l *utilnet.InternalListener, err error)

func (*Manager) NewConn

func (vm *Manager) NewConn(name string, conn net.Conn, timestamp int64, signKey string,
	useEncryption bool, useCompression bool, visitorUser string,
) (err error)

Jump to

Keyboard shortcuts

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