UNPKG

@synet/net

Version:

Network abstraction layer for Synet. visit https://syntehtism.ai for more information.

20 lines (19 loc) 684 B
export * from "./domain/entities/wireguard"; export * from "./application/services/wireguard-service"; export declare enum AdapterType { WIREGUARD_TOOLS = "wireguard_tools", SYNETD = "synetd" } import { WireguardService } from "./application/services/wireguard-service"; import { type Logger } from "@synet/logger"; interface WireguardToolsOptions { interfaceName?: string; configDir?: string; } interface SynetdOptions { baseUrl?: string; } /** * Create a WireGuard service with the specified adapter type */ export declare function createWireguardService(type?: AdapterType, options?: WireguardToolsOptions | SynetdOptions, logger?: Logger): WireguardService;