Documentation ¶
Index ¶
Constants ¶
View Source
const ( SizeOfInt = C.sizeof_int SizeOfTimespec = C.sizeof_struct_timespec )
Variables ¶
This section is empty.
Functions ¶
func NewReadMessages ¶
func NewWriteMessages ¶
Types ¶
type Conn ¶
type Conn interface { Read(common.RawBytes) (int, *ReadMeta, error) ReadBatch([]ipv4.Message, []ReadMeta) (int, error) Write(common.RawBytes) (int, error) WriteTo(common.RawBytes, *overlay.OverlayAddr) (int, error) WriteBatch([]ipv4.Message) (int, error) LocalAddr() *overlay.OverlayAddr RemoteAddr() *overlay.OverlayAddr Close() error }
func New ¶
func New(listen, remote *overlay.OverlayAddr, labels prometheus.Labels) (Conn, error)
type ReadMeta ¶
type Timespec ¶
type Timespec C.struct_timespec
Click to show internal directories.
Click to hide internal directories.