out

package
v0.0.0-...-fdf9806 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	// contains filtered or unexported fields
}

Socket is a Frame Streams encoder over a UNIX socket.

func NewSocket

func NewSocket(path string) (s *Socket, err error)

NewSocket will always return a new Socket. err if nothing is listening to it, it will attempt to reconnect on the next Write.

func (*Socket) Close

func (s *Socket) Close() error

Close the socket and flush the remaining frames.

func (*Socket) Write

func (s *Socket) Write(frame []byte) (int, error)

Write a single Frame Streams frame.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL