AddUser 向运行中的 inbound 热增用户,不重启核心、不断现有连接。
(ctx context.Context, cfg UserConfig)
| 90 | |
| 91 | // AddUser 向运行中的 inbound 热增用户,不重启核心、不断现有连接。 |
| 92 | AddUser(ctx context.Context, cfg UserConfig) error |
| 93 | // RemoveUser 从运行中的 inbound 热删用户。已有连接自然结束,新连接立即拒绝。 |
| 94 | RemoveUser(ctx context.Context, inboundTag, email string) error |
| 95 | } |
no outgoing calls