https://github.com/frontmage/gosock
Golang unix sock lib
https://github.com/frontmage/gosock
golang golang-library golang-package socks
Last synced: about 1 year ago
JSON representation
Golang unix sock lib
- Host: GitHub
- URL: https://github.com/frontmage/gosock
- Owner: FrontMage
- Created: 2018-06-28T01:49:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T01:55:34.000Z (about 8 years ago)
- Last Synced: 2025-02-05T16:39:28.286Z (over 1 year ago)
- Topics: golang, golang-library, golang-package, socks
- Language: Go
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gosock
Golang unix sock lib
## Usage
`$ go get github.com/FrontMage/gosock`
```go
import "github.com/FrontMage/gosock"
import "net"
gosock.Listen("/tmp/go.sock", func(conn net.Conn){/* Handle incoming msg */})
```