| Interface | Description |
|---|---|
| Drafty.Formatter<T> | |
| Drafty.Transformer | |
| Mergeable |
| Class | Description |
|---|---|
| AccessChange | |
| Acs |
Access mode.
|
| AcsHelper |
Helper class for access mode parser/generator.
|
| AuthScheme |
Helper of authentication scheme for account creation.
|
| ClientMessage<Pu,Pr> |
Client message:
Hi *MsgClientHi `json:"hi"`
Acc *MsgClientAcc `json:"acc"`
Login *MsgClientLogin `json:"login"`
Sub *MsgClientSub `json:"sub"`
Leave *MsgClientLeave `json:"leave"`
Pub *MsgClientPub `json:"pub"`
Get *MsgClientGet `json:"get"`
Set *MsgClientSet `json:"set"`
Del *MsgClientDel `json:"del"`
Note *MsgClientNote `json:"note"`
|
| Credential |
Account credential: email, phone, captcha
|
| Defacs |
Class describing default access to topic
|
| DelValues |
Part of Meta server response
|
| Description<DP,DR> |
Topic description as deserialized from the server packet.
|
| Drafty |
Basic parser and formatter for very simple rich text.
|
| Drafty.Entity | |
| Drafty.Node | |
| Drafty.Style | |
| LastSeen |
Class to hold last seen date-time and User Agent.
|
| MetaGetData |
Parameter of MsgGetMeta
|
| MetaGetDesc |
Parameter of GetMeta.
|
| MetaGetSub |
Parameter of MsgGetMeta
|
| MetaSetDesc<P,R> |
Topic initiation parameters
|
| MetaSetSub |
Parameter of MsgSetMeta
|
| MsgClientAcc<Pu,Pr> |
Account creation packet
|
| MsgClientDel |
Topic or message deletion packet
Id string `json:"id,omitempty"`
Topic string `json:"topic"`
// what to delete, either "msg" to delete messages, "topic" to delete the topic, "sub" to delete subscription
What string `json:"what"`
// Delete messages older than this seq ID (inclusive)
Before int `json:"before"`
// Request to hard-delete messages for all users, if such option is available.
|
| MsgClientExtra | |
| MsgClientGet |
Metadata query packet
Id string `json:"id,omitempty"`
Topic string `json:"topic"`
What string `json:"what"`
Desc *MsgGetOpts `json:"desc,omitempty"`
Sub *MsgGetOpts `json:"sub,omitempty"`
Data *MsgBrowseOpts `json:"data,omitempty"`
|
| MsgClientHi |
Create client handshake packet.
|
| MsgClientLeave |
Topic unsubscribe packet.
|
| MsgClientLogin |
Login packet.
|
| MsgClientNote |
Typing and read/received notifications packet.
|
| MsgClientPub |
Publish to topic packet.
|
| MsgClientSet<Pu,Pr> |
Metadata update packet
topic metadata, new topic & new subscriptions only
Desc *MsgSetDesc `json:"desc,omitempty"`
Subscription parameters
Sub *MsgSetSub `json:"sub,omitempty"`
|
| MsgClientSub<Pu,Pr> |
Subscribe to topic packet.
|
| MsgGetMeta |
Topic metadata request.
|
| MsgRange |
Range is either an individual ID (hi=0 || hi==null) or a range of deleted IDs, low end inclusive (closed),
high-end exclusive (open): [low ..
|
| MsgServerCtrl |
Control packet
|
| MsgServerData |
Content packet
|
| MsgServerInfo |
Info packet
|
| MsgServerMeta<DP,DR,SP,SR> |
Metadata packet
|
| MsgServerPres |
Presence notification.
|
| MsgSetMeta<Pu,Pr> |
Playload for setting meta params, a combination of MetaSetDesc, MetaSetSub, tags, credential.
|
| Pair<F,S> | |
| PrivateType |
Common type of the `private` field of {meta}: holds structured
data, such as comment and archival status.
|
| ServerMessage<DP,DR,SP,SR> |
Combined server message
|
| Subscription<SP,SR> |
Subscription to topic.
|
| TheCard | |
| TheCard.Birthday | |
| TheCard.Contact | |
| TheCard.Name | |
| TheCard.Organization | |
| TheCard.Photo |
Generic container for image data.
|
| TrustedType |
Common type of the `private` field of {meta}: holds structured
data, such as comment and archival status.
|
| Enum | Description |
|---|---|
| Acs.Side | |
| MsgServerPres.What | |
| TheCard.ContactType |