Help us shape the future of Go! Take the 2026 Go Developer Survey

visitor

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 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) (*netpkg.InternalListener, 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