Documentation ¶
Index ¶
- func ConnectSocket(address string, interval, deadline time.Duration) (*net.UnixConn, error)
- func Decrypt(ciphertext []byte, key []byte) ([]byte, error)
- func Encrypt(plaintext []byte, key []byte) ([]byte, error)
- func OpenSocket(a string) (*net.UnixListener, error)
- type Config
- type Consumer
- type Header
- type Instance
- type Message
- type Producer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectSocket ¶ added in v0.1.1
sock, err := uds.ConnectSocket("/env/example.sock", time.Second*1, time.Second*5)
sock.Write(msg)
func OpenSocket ¶
func OpenSocket(a string) (*net.UnixListener, error)
listener, err := uds.OpenSocket("/env/example.sock")
Types ¶
type Config ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.