cleanup: remove unused symbols (#2581)
This commit is contained in:
@ -926,9 +926,8 @@ type addrConn struct {
|
||||
backoffIdx int // Needs to be stateful for resetConnectBackoff.
|
||||
resetBackoff chan struct{}
|
||||
|
||||
channelzID int64 // channelz unique identification number.
|
||||
czData *channelzData
|
||||
healthCheckEnabled bool
|
||||
channelzID int64 // channelz unique identification number.
|
||||
czData *channelzData
|
||||
}
|
||||
|
||||
// Note: this requires a lock on ac.mu.
|
||||
|
@ -24,11 +24,6 @@ import (
|
||||
core "google.golang.org/grpc/credentials/alts/internal"
|
||||
)
|
||||
|
||||
// cryptoTestVector is struct for a rekey test vector
|
||||
type rekeyTestVector struct {
|
||||
key, nonce, plaintext, ciphertext []byte
|
||||
}
|
||||
|
||||
// getGCMCryptoPair outputs a client/server pair on aes128gcmRekey.
|
||||
func getRekeyCryptoPair(key []byte, counter []byte, t *testing.T) (ALTSRecordCrypto, ALTSRecordCrypto) {
|
||||
client, err := NewAES128GCMRekey(core.ClientSide, key)
|
||||
|
@ -31,7 +31,6 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
testAppProtocols = []string{"grpc"}
|
||||
testRecordProtocol = rekeyRecordProtocolName
|
||||
testKey = []byte{
|
||||
// 44 arbitrary bytes.
|
||||
|
@ -34,8 +34,6 @@ var (
|
||||
hsDialer = grpc.Dial
|
||||
)
|
||||
|
||||
type dialer func(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
|
||||
|
||||
// Dial dials the handshake service in the hypervisor. If a connection has
|
||||
// already been established, this function returns it. Otherwise, a new
|
||||
// connection is created.
|
||||
|
@ -40,7 +40,6 @@ var port = flag.Int("port", 50051, "the port to serve on")
|
||||
|
||||
const (
|
||||
timestampFormat = time.StampNano
|
||||
smallDuration = time.Second
|
||||
streamingCount = 10
|
||||
)
|
||||
|
||||
|
@ -50,9 +50,6 @@ func (s *ecServer) BidirectionalStreamingEcho(ecpb.Echo_BidirectionalStreamingEc
|
||||
return status.Errorf(codes.Unimplemented, "not implemented")
|
||||
}
|
||||
|
||||
func startServer(addr string) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
lis, err := net.Listen("tcp", addr)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user