Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_internal_proto protoreflect.FileDescriptor
var InternalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "InternalService", HandlerType: (*InternalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsAlive", Handler: _InternalService_IsAlive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "internal.proto", }
InternalService_ServiceDesc is the grpc.ServiceDesc for InternalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInternalServiceServer ¶
func RegisterInternalServiceServer(s grpc.ServiceRegistrar, srv InternalServiceServer)
Types ¶
type InternalServiceClient ¶
type InternalServiceClient interface {
IsAlive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
}
InternalServiceClient is the client API for InternalService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInternalServiceClient ¶
func NewInternalServiceClient(cc grpc.ClientConnInterface) InternalServiceClient
type InternalServiceServer ¶
type InternalServiceServer interface { IsAlive(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) // contains filtered or unexported methods }
InternalServiceServer is the server API for InternalService service. All implementations must embed UnimplementedInternalServiceServer for forward compatibility
type UnimplementedInternalServiceServer ¶
type UnimplementedInternalServiceServer struct { }
UnimplementedInternalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedInternalServiceServer) IsAlive ¶
func (UnimplementedInternalServiceServer) IsAlive(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
type UnsafeInternalServiceServer ¶
type UnsafeInternalServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInternalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalServiceServer will result in compilation errors.