package
Version:
v3.1.1-rc1
Opens a new window with list of versions in this module.
Published: Dec 2, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
*
* Copyright 2019 gRPC authors.
*
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.