2024-01-04 07:36:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2023 gRPC authors.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
package internal
|
|
|
|
|
|
|
|
var (
|
2024-09-02 20:06:42 +00:00
|
|
|
// WithBufferPool is implemented by the grpc package and returns a dial
|
2024-01-04 07:36:42 +00:00
|
|
|
// option to configure a shared buffer pool for a grpc.ClientConn.
|
2024-09-02 20:06:42 +00:00
|
|
|
WithBufferPool any // func (grpc.SharedBufferPool) grpc.DialOption
|
2024-01-04 07:36:42 +00:00
|
|
|
|
2024-09-02 20:06:42 +00:00
|
|
|
// BufferPool is implemented by the grpc package and returns a server
|
2024-01-04 07:36:42 +00:00
|
|
|
// option to configure a shared buffer pool for a grpc.Server.
|
2024-09-02 20:06:42 +00:00
|
|
|
BufferPool any // func (grpc.SharedBufferPool) grpc.ServerOption
|
2024-01-04 07:36:42 +00:00
|
|
|
)
|