InverseServer

package
v0.0.0-...-ae4999c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Start

func Start(ctx context.Context, addr string, port int) error

Types

type MAC

type MAC [6]uint8

func (*MAC) String

func (mac *MAC) String() string

type Server

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

func DefaultConnector

func DefaultConnector() *Server

func New

func New() *Server

func (*Server) Close

func (server *Server) Close()

func (*Server) Start

func (server *Server) Start(ctx context.Context, addr string, port int) error

func (*Server) Try

func (server *Server) Try(_ context.Context, mac string) (net.Conn, error)

func (*Server) Wait

func (server *Server) Wait()

Jump to

Keyboard shortcuts

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