initial
This commit is contained in:
11
t3.mjs
Normal file
11
t3.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Stream_Relay } from './stream-relay.mjs';
|
||||
import { Unix_Socket } from './unix-socket.mjs';
|
||||
import fs from 'node:fs';
|
||||
|
||||
const source_stream = fs.createReadStream('/logsock/gitea.fifo');
|
||||
|
||||
const target_socket = new Unix_Socket('./target.sock');
|
||||
|
||||
const relay = new Relay(listening_socket, target_socket);
|
||||
|
||||
relay.serve();
|
||||
Reference in New Issue
Block a user