mirror of
https://github.com/PretendoNetwork/nex-go.git
synced 2025-04-02 11:02:14 -04:00
14 lines
473 B
Go
14 lines
473 B
Go
package nex
|
|
|
|
// EndpointInterface defines all the methods an endpoint should have regardless of type
|
|
type EndpointInterface interface {
|
|
AccessKey() string
|
|
SetAccessKey(accessKey string)
|
|
Send(packet PacketInterface)
|
|
LibraryVersions() *LibraryVersions
|
|
ByteStreamSettings() *ByteStreamSettings
|
|
SetByteStreamSettings(settings *ByteStreamSettings)
|
|
UseVerboseRMC() bool // TODO - Move this to a RMCSettings struct?
|
|
EnableVerboseRMC(enabled bool)
|
|
EmitError(err *Error)
|
|
}
|