Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialPeer ¶
func DialPeer(peer PeerInfo, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Types ¶
type Manager ¶
type Manager struct { Server *grpc.Server Listener net.Listener Self PeerInfo Cert *tls.Certificate // contains filtered or unexported fields }
func (*Manager) DialPeer ¶
func (c *Manager) DialPeer(peer PeerInfo, opts ...grpc.DialOption) (*grpc.ClientConn, error)
type PeerInfo ¶
type PeerInfo struct {
// contains filtered or unexported fields
}
func GetPeerInfo ¶
func (*PeerInfo) Cert ¶
func (pi *PeerInfo) Cert() *x509.Certificate
func (*PeerInfo) Fingerprint ¶
Click to show internal directories.
Click to hide internal directories.