Documentation
¶
Index ¶
- 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.