Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the gRPC interface of Doppler. It wraps a gRPC server and handles service registration.
func NewServer ¶
func NewServer( port uint16, v1Ingress plumbingv1.DopplerIngestorServer, v1Egress plumbingv1.DopplerServer, v2Ingress loggregator_v2.IngressServer, v2Egress loggregator_v2.EgressServer, srvOpts ...grpc.ServerOption, ) (*Server, error)
NewServer is the constructor for Server. The constructor attempts to open a listener on the provided port and will return an error if that binding fails.
Click to show internal directories.
Click to hide internal directories.