VictoriaMetrics/vendor/google.golang.org/grpc/internal/experimental.go

29 lines
1.0 KiB
Go
Raw Normal View History

2023-12-12 23:35:31 +01: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-08 21:05:06 +02:00
// WithBufferPool is implemented by the grpc package and returns a dial
2023-12-12 23:35:31 +01:00
// option to configure a shared buffer pool for a grpc.ClientConn.
2024-09-08 21:05:06 +02:00
WithBufferPool any // func (grpc.SharedBufferPool) grpc.DialOption
2023-12-12 23:35:31 +01:00
2024-09-08 21:05:06 +02:00
// BufferPool is implemented by the grpc package and returns a server
2023-12-12 23:35:31 +01:00
// option to configure a shared buffer pool for a grpc.Server.
2024-09-08 21:05:06 +02:00
BufferPool any // func (grpc.SharedBufferPool) grpc.ServerOption
2023-12-12 23:35:31 +01:00
)