UNPKG

@biorate/haproxy

Version:
17 lines (16 loc) 772 B
import { Connector } from '@biorate/connector'; import { IHaproxyConfig, IHaproxyConnection } from './interfaces'; export * from './errors'; export * from './interfaces'; export declare class HaproxyConnector extends Connector<IHaproxyConfig, IHaproxyConnection> { #private; private '#connections'; private '#current'; protected readonly namespace = "Haproxy"; protected connect(config: IHaproxyConfig): Promise<IHaproxyConnection>; protected readiness(connection: IHaproxyConnection, config: IHaproxyConfig): Promise<void>; protected path(config: IHaproxyConfig, ext: string): string; protected cleanup(config: IHaproxyConfig): void; protected createConfig(config: IHaproxyConfig): string; protected destructor(): Promise<void>; }