Browse Source

Add docs for peerStreamServer vs peeringServer. (#13781)

pull/13767/head
Luke Kysow 2 years ago committed by GitHub
parent
commit
46381b1a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      agent/consul/server.go

3
agent/consul/server.go

@ -367,8 +367,9 @@ type Server struct {
// peeringBackend is shared between the external and internal gRPC services for peering
peeringBackend *PeeringBackend
// peerStreamServer is a server used to handle peering streams
// peerStreamServer is a server used to handle peering streams from external clusters.
peerStreamServer *peerstream.Server
// peeringServer handles peering RPC requests internal to this cluster, like generating peering tokens.
peeringServer *peering.Server
peerStreamTracker *peerstream.Tracker

Loading…
Cancel
Save