Source File
load_balancer_grpc.pb.go
Belonging Package
google.golang.org/grpc/balancer/grpclb/grpc_lb_v1
const _ = grpc.SupportPackageIsVersion7
BalanceLoad func(LoadBalancer_BalanceLoadServer) error
}
func ( *LoadBalancerService) ( interface{}, grpc.ServerStream) error {
if .BalanceLoad == nil {
return status.Errorf(codes.Unimplemented, "method BalanceLoad not implemented")
}
return .BalanceLoad(&loadBalancerBalanceLoadServer{})
}
func ( grpc.ServiceRegistrar, *LoadBalancerService) {
:= grpc.ServiceDesc{
ServiceName: "grpc.lb.v1.LoadBalancer",
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "BalanceLoad",
Handler: .balanceLoad,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "grpc/lb/v1/load_balancer.proto",
}
.RegisterService(&, nil)
}
func ( interface{}) *LoadBalancerService {
:= &LoadBalancerService{}
if , := .(interface {
(LoadBalancer_BalanceLoadServer) error
}); {
.BalanceLoad = .
}
return
}
BalanceLoad(LoadBalancer_BalanceLoadServer) error
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |