refactoring
This commit is contained in:
parent
3fb9df425c
commit
62a2f15dab
12 changed files with 670 additions and 13 deletions
36
libs/services/proxy/src/index.ts
Normal file
36
libs/services/proxy/src/index.ts
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/**
|
||||
* Proxy Service Library
|
||||
* Centralized proxy management and synchronization
|
||||
*/
|
||||
|
||||
// Main classes
|
||||
export { ProxyManager } from './proxy-manager';
|
||||
export { ProxySyncService } from './proxy-sync';
|
||||
|
||||
// Types
|
||||
export type {
|
||||
ProxyInfo,
|
||||
ProxyManagerConfig,
|
||||
ProxySyncConfig,
|
||||
ProxyStats
|
||||
} from './types';
|
||||
|
||||
// Convenience functions
|
||||
export {
|
||||
getProxy,
|
||||
getRandomProxy,
|
||||
getAllProxies,
|
||||
getWorkingProxies,
|
||||
updateProxies,
|
||||
getProxyStats
|
||||
} from './proxy-manager';
|
||||
|
||||
export {
|
||||
getProxySyncService,
|
||||
startProxySync,
|
||||
stopProxySync,
|
||||
syncProxiesOnce
|
||||
} from './proxy-sync';
|
||||
|
||||
// Default export
|
||||
export { ProxyManager as default } from './proxy-manager';
|
||||
Loading…
Add table
Add a link
Reference in a new issue