# Packages
No description provided by the author
# Functions
NewChainEvents create chain events.
NewMatrixObserver init transport.
NewTokenNetwork token network initialization.
NewXMPPConnection create Xmpp connection to signal sever
*/.
# Constants
LOGINTYPE login type we used.
OFFLINE state -offline.
ONLINE network state -online.
PATHPREFIX0 the lastest transport client api version.
ROOMPREFIX room prefix.
ROOMSEP with ',' to separate room name's part.
TypeMeshBox photon run on a meshbox.
TypeMobile photon run on a mobile device.
TypeOtherDevice photon run on a other device.
UNAVAILABLE state -unavailable.
UNKNOWN or other state -unknown.
# Variables
ALIASFRAGMENT the terminal part of alias.
DefaultConfig with standard private channel prefix and 1 second timeout.
DISCOVERYROOMSERVER discovery room server name.
NETWORKNAME which network is used.
(`^[0-9a-z_\-./]+$`).
# Structs
ChainEvents block chain operations.
Config contains various client options.
MatrixObserver represents a transport transport Instantiation.
NodeStatus is status of a photon node.
PathResult is the json response for GetPaths.
TokenNetwork token network view.
XMPPConnection describes client connection to xmpp server.
# Interfaces
NodePresenceListener for notification from transport.
PasswordGetter generate login password
*/.
Transporter 用于节点上线下线发现.
XMPPDb 解耦 db 依赖
*/.