locketgo

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 8 Imported by: 1

README

locket-go

A Go library for logging dataflows

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocketConn

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

func NewLocketConn

func NewLocketConn(conn net.Conn, logDir string) (*LocketConn, error)

func (LocketConn) Close

func (locket LocketConn) Close() error

func (LocketConn) LocalAddr

func (locket LocketConn) LocalAddr() net.Addr

func (LocketConn) Read

func (locket LocketConn) Read(b []byte) (int, error)

func (LocketConn) RemoteAddr

func (locket LocketConn) RemoteAddr() net.Addr

func (LocketConn) SetDeadline

func (locket LocketConn) SetDeadline(t time.Time) error

func (LocketConn) SetReadDeadline

func (locket LocketConn) SetReadDeadline(t time.Time) error

func (LocketConn) SetWriteDeadline

func (locket LocketConn) SetWriteDeadline(t time.Time) error

func (LocketConn) Write

func (locket LocketConn) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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