Documentation ¶
Index ¶
Constants ¶
View Source
const ( BINARY_REQUEST = 0 TEXT_REQUEST = 1 BINARY_RESULT = 3 TEXT_RESULT = 4 )
noinspection GoSnakeCaseUsage
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBaseServer ¶
type IServer ¶
type IServer interface { IBaseServer Start() Shutdown() OnServerStarted(func()) OnActorConnected(func(string)) OnActorDisconnected(func(string)) SetSecurityHandler(ISecurityHandler) Version() int32 RegisterClientVersion(string, int32) ResolveClientVersion(string) int32 Configuration() IConfiguration ActiveEndpoint() string PassiveEndpoint() string TextSerializer() ITextSerializer BinarySerializer() IBinarySerializer TrafficRecorder() ITrafficRecorder MeasurementsProvider() IMeasurementsProvider SetMeasurementsProvider(IMeasurementsProvider) EmailProvider() IEmailProvider SetEmailProvider(IEmailProvider) SMSProvider() ISMSProvider SetSMSProvider(ISMSProvider) Actor(string) (IActor, error) Session(string) (ISystemObject, error) SetSession(string, ISystemObject) error OnActorBinaryData(IActor, []byte) IOperationResult OnActorTextData(IActor, string) IOperationResult OnActorOperationRequest(IActor, IOperationRequest) IOperationResult OnSocketConnected(IActor) OnSocketDisconnected(IActor) RegisterOperation(IOperation) error RegisterOperations(...IOperation) error RegisterHttpHandler(IHttpHandler) error RegisterHttpHandlers(...IHttpHandler) error SetAsciiArt(string) SetHUDEnabled(bool) }
type IServerError ¶
type ITrafficRecorder ¶
Click to show internal directories.
Click to hide internal directories.