package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 26, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package balancerload defines APIs to parse server loads in trailers. The
parsed loads are sent to balancers in DoneInfo.
Parse calls parser.Read().
SetParser sets the load parser.
Not mutex-protected, should be called before any gRPC functions.
type Parser interface {
Parse(md metadata.MD) interface{}
}
Parser converts loads from metadata into a concrete type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.