feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
16
api.hyungi.net/node_modules/pm2-axon-rpc/example.js
generated
vendored
Normal file
16
api.hyungi.net/node_modules/pm2-axon-rpc/example.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
exports.add = function(a, b, fn){
|
||||
fn(null, a + b);
|
||||
};
|
||||
|
||||
exports.sub = function(a, b, fn){
|
||||
fn(null, a - b);
|
||||
};
|
||||
|
||||
exports.uppercase = function(str, fn){
|
||||
fn(null, str.toUpperCase());
|
||||
};
|
||||
|
||||
exports.lowercase = function(str, fn){
|
||||
fn(null, str.toLowerCase());
|
||||
};
|
||||
Reference in New Issue
Block a user