Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize initializes the server and associated services
Types ¶
type GRPCServer ¶
type GRPCServer struct {
// contains filtered or unexported fields
}
GRPCServer represents GRPC server which bridge uses to handle rpc calls
func NewGRPCServer ¶
func NewGRPCServer(lis net.Listener, serv *grpc.Server) *GRPCServer
NewGRPCServer creates a new GRPC server
type HealthServer ¶
type HealthServer struct{}
HealthServer contains methods which implement the grpc_health_v1 proto
func NewHealthServer ¶
func NewHealthServer() *HealthServer
NewHealthServer creates a new HealthServer
func (HealthServer) Check ¶
func (h HealthServer) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check simply returns SERVER if the server is healthy
func (HealthServer) Watch ¶
func (h HealthServer) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
Watch is unimplemented
Click to show internal directories.
Click to hide internal directories.