Standard (#44)

* standard

* remove old examples
This commit is contained in:
extremeheat 2021-03-13 13:38:31 -05:00 committed by GitHub
commit 1c582acdb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 539 additions and 731 deletions

View file

@ -1,6 +1,6 @@
const { Relay } = require('../src/relay')
function createRelay() {
function createRelay () {
console.log('Creating relay')
/**
* Example to create a non-transparent proxy (or 'Relay') connection to destination server
@ -27,7 +27,7 @@ function createRelay() {
/* Where to send upstream packets to */
destination: {
hostname: '127.0.0.1',
port: 19132,
port: 19132
// encryption: true
}
})
@ -35,4 +35,4 @@ function createRelay() {
relay.create()
}
createRelay()
createRelay()