Documentation ¶
Overview ¶
*****************************************************************************
* * Copyright (C) 2014 Tinode, All Rights Reserved * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program; if not, see < * * This code is available under licenses for commercial use. * * File : hub.go * Author : Gene Sokolov * Created : 18-May-2014 * ****************************************************************************** * * Description : * * Create/tear down conversation topics, route messages between topics. * ****************************************************************************
*****************************************************************************
* * Copyright (C) 2014 Tinode, All Rights Reserved * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program; if not, see < * * This code is available under licenses for commercial use. * * File : lphandler.go * Author : Gene Sokolov * Created : 18-May-2014 * ****************************************************************************** * * Description : * * Handler of long polling clients (see also wshandler for web sockets) * ****************************************************************************
*****************************************************************************
* * Copyright (C) 2014 Tinode, All Rights Reserved * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program; if not, see < * * This code is available under licenses for commercial use. * * File : topic.go * Author : Gene Sokolov * Created : 18-May-2014 * ****************************************************************************** * * Description : * An isolated communication channel (chat room, 1:1 conversation, control * connection) for usualy multiple users. There is no communication across topics * * ****************************************************************************
*****************************************************************************
* * Copyright (C) 2014 Tinode, All Rights Reserved * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program; if not, see < * * This code is available under licenses for commercial use. * * File : wshandler.go * Author : Gene Sokolov * Created : 18-May-2014 * ****************************************************************************** * * Description : * * Handler of websocket connections. See also lphandler.go for long polling. * ****************************************************************************
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
db
|
|
****************************************************************************
|
**************************************************************************** |
adapter
Package adapter contains the interfaces to be implemented by the database adapter
|
Package adapter contains the interfaces to be implemented by the database adapter |
Click to show internal directories.
Click to hide internal directories.