gotools/gopls/internal/debug/rpc.go

var RPCTmpl

type Rpcs

type rpcStats

type rpcTimeHistogram

type rpcTimeBucket

type rpcCodeBucket

func (r *Rpcs) ProcessEvent(ctx context.Context, ev core.Event, lm label.Map) context.Context {}

func endRPC(span *export.Span, stats *rpcStats) {}

func (r *Rpcs) getRPCSpan(ctx context.Context) (*export.Span, *rpcStats) {}

func (r *Rpcs) getRPCStats(lm label.Map) *rpcStats {}

func (s *rpcStats) InProgress() int64       {}

func (s *rpcStats) SentMean() byteUnits     {}

func (s *rpcStats) ReceivedMean() byteUnits {}

func (h *rpcTimeHistogram) Mean() timeUnits {}

func getStatusCode(span *export.Span) string {}

func (r *Rpcs) getData(req *http.Request) interface{}

func units(v float64, suffixes []string) string {}

type timeUnits

func (v timeUnits) String() string {}

type byteUnits

func (v byteUnits) String() string {}