stats

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(logger zerolog.Logger) *Handler

func (*Handler) HandleConn

func (h *Handler) HandleConn(ctx context.Context, st stats.ConnStats)

func (*Handler) HandleRPC

func (h *Handler) HandleRPC(ctx context.Context, s stats.RPCStats)

func (*Handler) TagConn

func (h *Handler) TagConn(ctx context.Context, info *stats.ConnTagInfo) context.Context

func (*Handler) TagRPC

func (h *Handler) TagRPC(ctx context.Context, info *stats.RPCTagInfo) context.Context

Jump to

Keyboard shortcuts

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