connection

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package connection implements a simple TCP server, allowing Locksmith to accept connections.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPAcceptor

type TCPAcceptor interface {
	Start() error
	Stop()
}

func NewTCPAcceptor

func NewTCPAcceptor(options *TCPAcceptorOptions) TCPAcceptor

type TCPAcceptorOptions

type TCPAcceptorOptions struct {
	Handler   func(net.Conn)
	Port      uint16
	TLSConfig *tls.Config
}

Jump to

Keyboard shortcuts

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