mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-23 00:10:19 +08:00
30 lines
713 B
TypeScript
30 lines
713 B
TypeScript
import { GeneralCallResult } from './common';
|
|
|
|
export interface NodeIKernelMSFService {
|
|
getServerTime(): string;
|
|
setNetworkProxy(param: {
|
|
userName: string,
|
|
userPwd: string,
|
|
address: string,
|
|
port: number,
|
|
proxyType: number,
|
|
domain: string,
|
|
isSocket: boolean
|
|
}): Promise<GeneralCallResult>;
|
|
//http
|
|
// userName: '',
|
|
// userPwd: '',
|
|
// address: '127.0.0.1',
|
|
// port: 5666,
|
|
// proxyType: 1,
|
|
// domain: '',
|
|
// isSocket: false
|
|
//socket
|
|
// userName: '',
|
|
// userPwd: '',
|
|
// address: '127.0.0.1',
|
|
// port: 5667,
|
|
// proxyType: 2,
|
|
// domain: '',
|
|
// isSocket: true
|
|
} |