bring some Zot6 libraries and interfaces to red/hubzilla

This commit is contained in:
zotlabs
2018-08-06 17:43:22 -07:00
parent aeb9d5cd90
commit 166879b8b0
13 changed files with 7764 additions and 0 deletions

25
Zotlabs/Module/Zot.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
/**
* @file Zotlabs/Module/Zot.php
*
* @brief Zot endpoint.
*
*/
namespace Zotlabs\Module;
use Zotlabs\Zot6 as ZotProtocol;
/**
* @brief Zot module.
*
*/
class Zot extends \Zotlabs\Web\Controller {
function init() {
$zot = new ZotProtocol\Receiver(new ZotProtocol\Zot6Handler());
json_return_and_die($zot->run(),'application/x-zot+jzon');
}
}