mirror of
https://github.com/PretendoNetwork/nex-go.git
synced 2025-04-02 11:02:14 -04:00
16 lines
418 B
Go
16 lines
418 B
Go
// Package nex provides a collection of utility structs, functions, and data types for making NEX/QRV servers
|
|
package nex
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/PretendoNetwork/nex-go/v2/types"
|
|
)
|
|
|
|
// ConnectionInterface defines all the methods a connection should have regardless of server type
|
|
type ConnectionInterface interface {
|
|
Endpoint() EndpointInterface
|
|
Address() net.Addr
|
|
PID() *types.PID
|
|
SetPID(pid *types.PID)
|
|
}
|