logger

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerLoggerPlugin

type ServerLoggerPlugin struct{}

func (ServerLoggerPlugin) HandleConnAccept

func (p ServerLoggerPlugin) HandleConnAccept(conn net.Conn) (net.Conn, bool)

func (ServerLoggerPlugin) HandleConnClose

func (p ServerLoggerPlugin) HandleConnClose(conn net.Conn) (net.Conn, bool)

func (ServerLoggerPlugin) PostWriteResponse

func (p ServerLoggerPlugin) PostWriteResponse(ctx context.Context, req *protocol.Message, res *protocol.Message, err error) error

func (ServerLoggerPlugin) PreHandleRequest

func (p ServerLoggerPlugin) PreHandleRequest(ctx context.Context, r *protocol.Message) error

func (ServerLoggerPlugin) Register

func (p ServerLoggerPlugin) Register(name string, rcvr interface{}, metadata string) error

func (ServerLoggerPlugin) RegisterFunction

func (p ServerLoggerPlugin) RegisterFunction(serviceName, fname string, fn interface{}, metadata string) error

func (ServerLoggerPlugin) Unregister

func (p ServerLoggerPlugin) Unregister(name string) error

Jump to

Keyboard shortcuts

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