Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(format string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Panic(v ...interface{})
- func (l *Logger) Panicf(format string, v ...interface{})
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(format string, v ...interface{})
- type ServerLoggerPlugin
- func (p ServerLoggerPlugin) HandleConnAccept(conn net.Conn) (net.Conn, bool)
- func (p ServerLoggerPlugin) HandleConnClose(conn net.Conn) (net.Conn, bool)
- func (p ServerLoggerPlugin) PostWriteResponse(ctx context.Context, req *protocol.Message, res *protocol.Message, err error) error
- func (p ServerLoggerPlugin) PreHandleRequest(ctx context.Context, r *protocol.Message) error
- func (p ServerLoggerPlugin) Register(name string, rcvr interface{}, metadata string) error
- func (p ServerLoggerPlugin) RegisterFunction(serviceName, fname string, fn interface{}, metadata string) error
- func (p ServerLoggerPlugin) Unregister(name string) error
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 (ServerLoggerPlugin) HandleConnClose ¶
func (ServerLoggerPlugin) PostWriteResponse ¶
func (ServerLoggerPlugin) PreHandleRequest ¶
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
Click to show internal directories.
Click to hide internal directories.