├── .gitattributes ├── .github └── FUNDING.yml ├── .gitignore ├── .npmignore ├── .prettierrc ├── .publishrc ├── README.md ├── declarations.d.ts ├── index.d.ts ├── lib ├── app.js ├── app.js.map ├── authentication.class.js ├── authentication.class.js.map ├── common │ ├── chat │ │ ├── chat-handler.js │ │ ├── chat-handler.js.map │ │ ├── index.js │ │ └── index.js.map │ ├── duplex │ │ ├── duplex-handler.js │ │ ├── duplex-handler.js.map │ │ ├── index.js │ │ └── index.js.map │ ├── handler-base.js │ ├── handler-base.js.map │ ├── index.js │ ├── index.js.map │ ├── json-rpc │ │ ├── index.js │ │ ├── index.js.map │ │ ├── json-rpc-handler.js │ │ ├── json-rpc-handler.js.map │ │ ├── rpc-service-methods.js │ │ └── rpc-service-methods.js.map │ └── pusher │ │ ├── index.js │ │ ├── index.js.map │ │ ├── interfaces.js │ │ ├── interfaces.js.map │ │ ├── pusher.js │ │ └── pusher.js.map ├── index.js ├── index.js.map ├── namespace.js └── namespace.js.map ├── package.json ├── src ├── app.ts ├── authentication.class.ts ├── common │ ├── chat │ │ ├── chat-handler.ts │ │ └── index.ts │ ├── duplex │ │ ├── duplex-handler.ts │ │ └── index.ts │ ├── handler-base.ts │ ├── index.ts │ ├── json-rpc │ │ ├── index.ts │ │ ├── json-rpc-handler.ts │ │ └── rpc-service-methods.ts │ └── pusher │ │ ├── index.ts │ │ ├── interfaces.ts │ │ └── pusher.ts ├── index.ts └── namespace.ts ├── test ├── app.test.ts ├── handlers │ ├── chat.test.ts │ ├── duplex.test.ts │ ├── json-rpc.test.ts │ └── pusher.test.ts └── message-pusher.proto ├── tsconfig.json └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: yueguanyu 2 | open_collective: mikudos 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/.prettierrc -------------------------------------------------------------------------------- /.publishrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/.publishrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/README.md -------------------------------------------------------------------------------- /declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'socket.io-redis'; 2 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './src'; 2 | -------------------------------------------------------------------------------- /lib/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/app.js -------------------------------------------------------------------------------- /lib/app.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/app.js.map -------------------------------------------------------------------------------- /lib/authentication.class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/authentication.class.js -------------------------------------------------------------------------------- /lib/authentication.class.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/authentication.class.js.map -------------------------------------------------------------------------------- /lib/common/chat/chat-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/chat/chat-handler.js -------------------------------------------------------------------------------- /lib/common/chat/chat-handler.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/chat/chat-handler.js.map -------------------------------------------------------------------------------- /lib/common/chat/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/chat/index.js -------------------------------------------------------------------------------- /lib/common/chat/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/chat/index.js.map -------------------------------------------------------------------------------- /lib/common/duplex/duplex-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/duplex/duplex-handler.js -------------------------------------------------------------------------------- /lib/common/duplex/duplex-handler.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/duplex/duplex-handler.js.map -------------------------------------------------------------------------------- /lib/common/duplex/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/duplex/index.js -------------------------------------------------------------------------------- /lib/common/duplex/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/duplex/index.js.map -------------------------------------------------------------------------------- /lib/common/handler-base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/handler-base.js -------------------------------------------------------------------------------- /lib/common/handler-base.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/handler-base.js.map -------------------------------------------------------------------------------- /lib/common/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/index.js -------------------------------------------------------------------------------- /lib/common/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/index.js.map -------------------------------------------------------------------------------- /lib/common/json-rpc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/index.js -------------------------------------------------------------------------------- /lib/common/json-rpc/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/index.js.map -------------------------------------------------------------------------------- /lib/common/json-rpc/json-rpc-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/json-rpc-handler.js -------------------------------------------------------------------------------- /lib/common/json-rpc/json-rpc-handler.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/json-rpc-handler.js.map -------------------------------------------------------------------------------- /lib/common/json-rpc/rpc-service-methods.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/rpc-service-methods.js -------------------------------------------------------------------------------- /lib/common/json-rpc/rpc-service-methods.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/json-rpc/rpc-service-methods.js.map -------------------------------------------------------------------------------- /lib/common/pusher/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/index.js -------------------------------------------------------------------------------- /lib/common/pusher/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/index.js.map -------------------------------------------------------------------------------- /lib/common/pusher/interfaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/interfaces.js -------------------------------------------------------------------------------- /lib/common/pusher/interfaces.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/interfaces.js.map -------------------------------------------------------------------------------- /lib/common/pusher/pusher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/pusher.js -------------------------------------------------------------------------------- /lib/common/pusher/pusher.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/common/pusher/pusher.js.map -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/index.js.map -------------------------------------------------------------------------------- /lib/namespace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/namespace.js -------------------------------------------------------------------------------- /lib/namespace.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/lib/namespace.js.map -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/authentication.class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/authentication.class.ts -------------------------------------------------------------------------------- /src/common/chat/chat-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/chat/chat-handler.ts -------------------------------------------------------------------------------- /src/common/chat/index.ts: -------------------------------------------------------------------------------- 1 | export * from './chat-handler'; 2 | -------------------------------------------------------------------------------- /src/common/duplex/duplex-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/duplex/duplex-handler.ts -------------------------------------------------------------------------------- /src/common/duplex/index.ts: -------------------------------------------------------------------------------- 1 | export * from './duplex-handler'; 2 | -------------------------------------------------------------------------------- /src/common/handler-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/handler-base.ts -------------------------------------------------------------------------------- /src/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/index.ts -------------------------------------------------------------------------------- /src/common/json-rpc/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/json-rpc/index.ts -------------------------------------------------------------------------------- /src/common/json-rpc/json-rpc-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/json-rpc/json-rpc-handler.ts -------------------------------------------------------------------------------- /src/common/json-rpc/rpc-service-methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/json-rpc/rpc-service-methods.ts -------------------------------------------------------------------------------- /src/common/pusher/index.ts: -------------------------------------------------------------------------------- 1 | export * from './pusher'; 2 | -------------------------------------------------------------------------------- /src/common/pusher/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/pusher/interfaces.ts -------------------------------------------------------------------------------- /src/common/pusher/pusher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/common/pusher/pusher.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/namespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/src/namespace.ts -------------------------------------------------------------------------------- /test/app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/test/app.test.ts -------------------------------------------------------------------------------- /test/handlers/chat.test.ts: -------------------------------------------------------------------------------- 1 | import { app } from '../app.test'; 2 | -------------------------------------------------------------------------------- /test/handlers/duplex.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/test/handlers/duplex.test.ts -------------------------------------------------------------------------------- /test/handlers/json-rpc.test.ts: -------------------------------------------------------------------------------- 1 | import { app } from '../app.test'; 2 | -------------------------------------------------------------------------------- /test/handlers/pusher.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/test/handlers/pusher.test.ts -------------------------------------------------------------------------------- /test/message-pusher.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/test/message-pusher.proto -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikudos/mikudos-socketio-app/HEAD/yarn.lock --------------------------------------------------------------------------------