webssh2-server
Version:
A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2
26 lines (25 loc) • 763 B
TypeScript
/**
* Service container setup and initialization
*/
import type { Config } from '../types/config.js';
import { Container } from './container.js';
/**
* Setup and configure the dependency injection container
*/
export declare function setupContainer(config: Config): Container;
/**
* Create a test container with mock dependencies
*/
export declare function setupTestContainer(config?: Partial<Config>): Container;
/**
* Get the global container instance
*/
export declare function getGlobalContainer(): Container | null;
/**
* Initialize the global container
*/
export declare function initializeGlobalContainer(config: Config): Container;
/**
* Reset the global container (mainly for testing)
*/
export declare function resetGlobalContainer(): void;