Versions in this module Expand all Collapse all v0 v0.1.2 May 30, 2023 v0.1.1 May 30, 2023 Changes in this version + var File_gcsServer_proto protoreflect.FileDescriptor + var GcsGrpc_ServiceDesc = grpc.ServiceDesc + func RegisterGcsGrpcServer(s grpc.ServiceRegistrar, srv GcsGrpcServer) + type AllNodes struct + Nbh []*NbhInfo + func (*AllNodes) Descriptor() ([]byte, []int) + func (*AllNodes) ProtoMessage() + func (x *AllNodes) GetNbh() []*NbhInfo + func (x *AllNodes) ProtoReflect() protoreflect.Message + func (x *AllNodes) Reset() + func (x *AllNodes) String() string + type EmptyReq struct + func (*EmptyReq) Descriptor() ([]byte, []int) + func (*EmptyReq) ProtoMessage() + func (x *EmptyReq) ProtoReflect() protoreflect.Message + func (x *EmptyReq) Reset() + func (x *EmptyReq) String() string + type GcsGrpcClient interface + GetAllNodes func(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*AllNodes, error) + GetNbh func(ctx context.Context, in *InitReq, opts ...grpc.CallOption) (*Nbhnodes, error) + GetOnlyAddr func(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*OnlyAddr, error) + func NewGcsGrpcClient(cc grpc.ClientConnInterface) GcsGrpcClient + type GcsGrpcServer interface + GetAllNodes func(context.Context, *EmptyReq) (*AllNodes, error) + GetNbh func(context.Context, *InitReq) (*Nbhnodes, error) + GetOnlyAddr func(context.Context, *EmptyReq) (*OnlyAddr, error) + type InitReq struct + Addr string + Num int32 + func (*InitReq) Descriptor() ([]byte, []int) + func (*InitReq) ProtoMessage() + func (x *InitReq) GetAddr() string + func (x *InitReq) GetNum() int32 + func (x *InitReq) ProtoReflect() protoreflect.Message + func (x *InitReq) Reset() + func (x *InitReq) String() string + type NbhInfo struct + Addr string + Cpu float32 + Queuenum int32 + Ram float32 + Timestamp int64 + func (*NbhInfo) Descriptor() ([]byte, []int) + func (*NbhInfo) ProtoMessage() + func (x *NbhInfo) GetAddr() string + func (x *NbhInfo) GetCpu() float32 + func (x *NbhInfo) GetQueuenum() int32 + func (x *NbhInfo) GetRam() float32 + func (x *NbhInfo) GetTimestamp() int64 + func (x *NbhInfo) ProtoReflect() protoreflect.Message + func (x *NbhInfo) Reset() + func (x *NbhInfo) String() string + type Nbhnodes struct + Nbh []*NbhInfo + func (*Nbhnodes) Descriptor() ([]byte, []int) + func (*Nbhnodes) ProtoMessage() + func (x *Nbhnodes) GetNbh() []*NbhInfo + func (x *Nbhnodes) ProtoReflect() protoreflect.Message + func (x *Nbhnodes) Reset() + func (x *Nbhnodes) String() string + type OnlyAddr struct + Addr []string + func (*OnlyAddr) Descriptor() ([]byte, []int) + func (*OnlyAddr) ProtoMessage() + func (x *OnlyAddr) GetAddr() []string + func (x *OnlyAddr) ProtoReflect() protoreflect.Message + func (x *OnlyAddr) Reset() + func (x *OnlyAddr) String() string + type UnimplementedGcsGrpcServer struct + func (UnimplementedGcsGrpcServer) GetAllNodes(context.Context, *EmptyReq) (*AllNodes, error) + func (UnimplementedGcsGrpcServer) GetNbh(context.Context, *InitReq) (*Nbhnodes, error) + func (UnimplementedGcsGrpcServer) GetOnlyAddr(context.Context, *EmptyReq) (*OnlyAddr, error) + type UnsafeGcsGrpcServer interface