rpclog

package
v0.0.0-...-0713623 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(in io.Writer, out io.Writer) *Logger

func (*Logger) Log

func (l *Logger) Log(ctx context.Context, uuid, method string, st time.Time,
	inType string, in proto.Message,
	outErr error, outType string, out proto.Message)

type Reader

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

func NewReader

func NewReader(a io.Reader) *Reader

func (*Reader) Stream

func (r *Reader) Stream() <-chan *pb.Entry

Directories

Path Synopsis
Package rpclog is a generated protocol buffer package.
Package rpclog is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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