useragent

package
v4.0.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 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 Store

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

Store allows to access user-agent header concurrently and efficiently. Currently there is no way to retrieve user-agent during TagRPC stage: LINK: https://github.com/grpc/grpc-go/pull/3331

func (*Store) ClientSide

func (s *Store) ClientSide(_ context.Context, stat stats.RPCStats) string

ClientSide implements best effort logic to obtain user-agent. Works with grpc 1.28.0 and above.

Jump to

Keyboard shortcuts

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