Documentation
¶
Overview ¶
Package unix implements the UNIX domain sockets transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Name of the UNIX domain socket. // Name defaults to a random path of format "/tmp/telehash-<random>.sock" Name string // Mode is the mode for the socket. // Deault to srwx------ (user only) Mode os.FileMode }
Config for the UDP transport. Typically the zero value is sufficient to get started.
e3x.New(keys, unix.Config{Name: "/tmp/telehash/<hashname>.sock"})
Click to show internal directories.
Click to hide internal directories.