command
Version:
v0.0.0-...-fb49217
Opens a new window with list of versions in this module.
Published: Aug 8, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Listen UNIX Domain Socket
Usage
echo d /var/run/gopher 0755 `whoami` `whoami` - > /etc/tmpfiles.d/gopher.conf
systemd-tmpfiles --create /etc/tmpfiles.d/gopher.conf
systemctl daemon-reload
go run main.go &
echo -en 'GET / HTTP/1.0\r\n\r\n' | socat stdio UNIX-CONNECT:/var/run/gopher/go.sock
HTTP/1.0 200 OK
Date: Tue, 06 Sep 2016 16:45:16 GMT
Content-Length: 9
Content-Type: text/plain; charset=utf-8
It works!
License
The MIT License (MIT)
Author
Shintaro Kaneko kaneshin0120@gmail.com
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.