MCPcopy
hub / github.com/yinxin630/fiora / SocketDocument

Interface SocketDocument

packages/database/mongoose/models/socket.ts:30–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28});
29
30export interface SocketDocument extends Document {
31 /** socket连接id */
32 id: string;
33 /** 关联用户id */
34 user: any;
35 /** ip地址 */
36 ip: string;
37 /** 系统 */
38 os: string;
39 /** 浏览器 */
40 browser: string;
41 /** 详细环境信息 */
42 environment: string;
43 /** 创建时间 */
44 createTime: Date;
45}
46
47/**
48 * Socket Model

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected