This middleware can connect to other namespaces.
moleculer.config.js
const InterNamespaceMiddleware = require("./inter-namespace.js");| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| <?php | |
| use Notification; | |
| use Aws\Sns\Message; | |
| use Aws\Sns\MessageValidator; | |
| use Aws\Sns\Exception\InvalidSnsMessageException; | |
| class SNSController extends Controller | |
| { |
| <?php | |
| Route::group([ | |
| 'namespace' => 'Eder\Controllers\Aws', | |
| 'prefix' => 'aws', | |
| ], | |
| function () { | |
| Route::post('/sns/handle-bounces', 'SNSController@handleNotification'); | |
| } | |
| ); |
| <?php | |
| namespace Eder\Jobs; | |
| use Eder\Jobs\Job; | |
| use Illuminate\Contracts\Mail\Mailer; | |
| use Illuminate\Queue\SerializesModels; | |
| use Illuminate\Queue\InteractsWithQueue; | |
| use Illuminate\Contracts\Bus\SelfHandling; | |
| use Illuminate\Contracts\Queue\ShouldQueue; |
| "use strict"; | |
| const defaultsDeep = require("lodash/defaultsDeep"); | |
| /** | |
| * | |
| * | |
| * @class StatRequestStore | |
| */ | |
| class StatRequestStore { |
| <?php | |
| //Don't forget to change the namespace! | |
| namespace App\Traits; | |
| use Cron\CronExpression; | |
| use Illuminate\Support\Carbon; | |
| use Illuminate\Console\Scheduling\ManagesFrequencies; | |
| trait Schedulable{ |
| <div class="base"> | |
| <div class="menu"> | |
| <div class="icon"> | |
| <div class="bar"></div> | |
| </div> | |
| </div> | |
| <div class="icons"> | |
| <i class="fa fa-user" aria-hidden="true"></i> | |
| <i class="fa fa-calendar-o" aria-hidden="true"></i> | |
| <i class="fa fa-tachometer" aria-hidden="true"></i> |
Project moved due to excessive amount of unicorns. Repo https://git.io/adminpldt
Our community of amazing people. Managed by a cat. Backspace https://discord.gg/C43625u
Gist here will not be updated anymore Discussion here on Gist is still allowed but I strongly recommend going over to the repository or Discord chat