(id string)
| 94 | GetUserByStripeCustomerID(customerID string) (User, error) |
| 95 | ListUsers() ([]User, error) |
| 96 | DeleteUser(id string) error |
| 97 | // SetCredentials 设置用户级全局凭证(UUID 用于 VLESS,Secret 用于 Trojan/AnyTLS/SS)。 |
| 98 | // 所有节点的 xray 配置将使用这两个值,实现跨节点密码统一。 |
| 99 | SetCredentials(userID, uuid, secret string) error |
no outgoing calls
no test coverage detected