Movatterモバイル変換


[0]ホーム

URL:


internal

package
v1.77.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2025 License:Apache-2.0Imports:3Imported by:0

Details

Repository

github.com/grpc/grpc-go

Links

Documentation

Overview

Package internal contains common core functionality for ALTS.

Index

Constants

This section is empty.

Variables

View Source
var PeerNotRespondingError = &peerNotRespondingError{}

PeerNotRespondingError is returned when a peer server is not respondingafter a channel has been established. It is treated as a temporary connectionerror and re-connection to the server should be attempted.

Functions

This section is empty.

Types

typeHandshaker

type Handshaker interface {// ClientHandshake starts and completes a client-side handshaking and// returns a secure connection and corresponding auth information.ClientHandshake(ctxcontext.Context) (net.Conn,credentials.AuthInfo,error)// ServerHandshake starts and completes a server-side handshaking and// returns a secure connection and corresponding auth information.ServerHandshake(ctxcontext.Context) (net.Conn,credentials.AuthInfo,error)// Close terminates the Handshaker. It should be called when the caller// obtains the secure connection.Close()}

Handshaker defines a ALTS handshaker interface.

typeSide

type Sideint

Side identifies the party's role: client or server.

const (// ClientSide identifies the client in this communication.ClientSideSide =iota// ServerSide identifies the server in this communication.ServerSide)

Source Files

View all Source files

Directories

PathSynopsis
Package authinfo provide authentication information returned by handshakers.
Package authinfo provide authentication information returned by handshakers.
Package conn contains an implementation of a secure channel created by gRPC handshakers.
Package conn contains an implementation of a secure channel created by gRPC handshakers.
Package handshaker provides ALTS handshaking functionality for GCP.
Package handshaker provides ALTS handshaking functionality for GCP.
service
Package service manages connections between the VM application and the ALTS handshaker service.
Package service manages connections between the VM application and the ALTS handshaker service.
proto
Package testutil include useful test utilities for the handshaker.
Package testutil include useful test utilities for the handshaker.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp