-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(default): added default files for generate
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const cote = require('cote') | ||
|
||
/** | ||
* Creates a new Publisher | ||
*/ | ||
const serviceNamePublisher = new cote.Publisher({ | ||
name: 'mslite:publisher:serviceName ' | ||
}) | ||
|
||
module.exports = serviceNamePublisher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const cote = require('cote') | ||
|
||
/** | ||
* creates a new Requester | ||
*/ | ||
const serviceNameRequester = new cote.Requester({ | ||
name: 'mslite:requester:serviceName' | ||
}) | ||
|
||
module.exports = serviceNameRequester |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const cote = require('cote') | ||
|
||
/** | ||
* Creates a new Responder | ||
*/ | ||
const serviceNameResponder = new cote.Responder({ | ||
name: 'mslite:responder:serviceName' | ||
}) | ||
|
||
module.exports = serviceNameResponder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const cote = require('cote') | ||
|
||
/** | ||
* Creates a new Subscriber | ||
*/ | ||
const serviceNameSubscriber = new cote.Subscriber({ | ||
name: 'mslite:subscriber:serviceName' | ||
}) | ||
|
||
module.exports = serviceNameSubscriber |