package
1.6.0
Repository: https://github.com/glide-im/glide.git
Documentation: pkg.go.dev

# Functions

GenTempID generates a temporary ID.
No description provided by the author
No description provided by the author
IsIDAlreadyExist returns true if the error is caused by the ID of the client already exist.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewID creates a new ID from the given user id, gateway id and client type.
NewID2 creates a new ID from the given user id, use the empty gateway id and the empty client type.
No description provided by the author
No description provided by the author

# Structs

AesCBCCrypto cbc mode PKCS7 padding.
Authenticator handle client authentication message.
ClientAuthCredentials represents the client authentication credentials.
ClientConfig client config.
ClientSecrets used to control client permission.
EncryptedCredential represents the encrypted credential.
No description provided by the author
Info represents a client's information.
No description provided by the author
UserClient represent a user conn client.

# Interfaces

Client is a client connection abstraction.
No description provided by the author
No description provided by the author
DefaultGateway is gateway default implements.
Gateway is the basic and common interface for all gate implementations.
MessageReader 表示一个从连接中(Connection)读取消息的读取者, 可以用于定义如何从连接中读取并解析消息.
Server is the interface for the gateway server, which is used to handle and manager client connections.

# Type aliases

ID is used to identify the client, the ID is consist of multiple parts, some of them are optional.
MessageHandler used to handle messages from the gate.
No description provided by the author