/websockify-go

websockify implementation in golang

Primary LanguageGoMIT LicenseMIT

websockify-go

websockify-go is simple implementation of websockify in golang.

It uses Gorilla WebSocket (thanks for great work)

Changes

  • Cross Origin will always return true.

Usage

websockify [options] [source_addr]:source_port target_addr:target_port

To proxy localhost websocket 7000 to target TCP localhost 5000

websockify :7000 :5000
options:
-cert string
        SSL certificate file
  -h    Print Help
  -key string
        SSL key file
  -run-once
        handle a single WebSocket connection and exit
  -v    Verbose
  -web string
        Serve files from DIR.