[Groonga-commit] groonga/express-kotoumi [master] Use "kotoumi" instead of "groonga" as the default fluent tag name

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 28 11:59:11 JST 2013


YUKI Hiroshi	2013-01-28 11:59:11 +0900 (Mon, 28 Jan 2013)

  New Revision: b74574f2405ba465546b98b86f3eccd45600cb82
  https://github.com/groonga/express-kotoumi/commit/b74574f2405ba465546b98b86f3eccd45600cb82

  Log:
    Use "kotoumi" instead of "groonga" as the default fluent tag name

  Modified files:
    README.md
    lib/backend/connection.js

  Modified: README.md (+4 -4)
===================================================================
--- README.md    2013-01-28 11:32:09 +0900 (cf94cce)
+++ README.md    2013-01-28 11:59:11 +0900 (f4b8b64)
@@ -19,11 +19,11 @@ you can initialize the express-kotoumi instance easily.
     
     application.kotoumi({
       prefix: '/kotoumi',
-      tag:    'groonga',
+      tag:    'kotoumi',
       server: server, // this is required to initialize Socket.IO API!
       extraCommands: [ // optional
         // extra command will be sent to kotoumi via the Socket.IO API, as is.
-        'groonga.reindex'
+        'kotoumi.reindex'
       ]
     });
 
@@ -32,10 +32,10 @@ to the kotoumi and to receive messages from the kotoumi.
 
     application.kotoumi({
       prefix: '/kotoumi',
-      tag:    'groonga',
+      tag:    'kotoumi',
       server: server,
       extraCommands: [
-        'groonga.reindex'
+        'kotoumi.reindex'
       ],
     
       // host and port to send messages to kotoumi

  Modified: lib/backend/connection.js (+3 -3)
===================================================================
--- lib/backend/connection.js    2013-01-28 11:32:09 +0900 (cd90853)
+++ lib/backend/connection.js    2013-01-28 11:59:11 +0900 (2380c46)
@@ -1,5 +1,5 @@
 /**
- * var connection = new Connection({ tag:             'groonga',
+ * var connection = new Connection({ tag:             'kotoumi',
  *                                   hostName:        'localhost',
  *                                   port:            24224,
  *                                   receiveHostName: 'localhost',
@@ -7,7 +7,7 @@
  * or
  * var server = require('http').createServer(handler);
  * server.listen(10030);
- * var connection = new Connection({ tag:             'groonga',
+ * var connection = new Connection({ tag:             'kotoumi',
  *                                   hostName:        'localhost',
  *                                   port:            24224,
  *                                   receiveHostName: 'localhost',
@@ -34,7 +34,7 @@ var fluent = require('fluent-logger');
 
 var DEFAULT_FLUENT_TAG =
       Connection.DEFAULT_FLUENT_TAG =
-        'groonga';
+        'kotoumi';
 var DEFAULT_FLUENT_HOST_NAME =
       Connection.DEFAULT_FLUENT_HOST_NAME =
         'localhost';
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index