Versions in this module Expand all Collapse all v0 v0.0.2 Dec 29, 2024 v0.0.1 Dec 28, 2024 Changes in this version + const Link_SimulateLinkState_FullMethodName + const Link_WatchLocalLinks_FullMethodName + var File_infra_link_proto protoreflect.FileDescriptor + var Link_ServiceDesc = grpc.ServiceDesc + func RegisterLinkServer(s grpc.ServiceRegistrar, srv LinkServer) + type LinkClient interface + SimulateLinkState func(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) + WatchLocalLinks func(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) + func NewLinkClient(cc grpc.ClientConnInterface) LinkClient + type LinkServer interface + SimulateLinkState func(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) + WatchLocalLinks func(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error + type Link_WatchLocalLinksClient = grpc.ServerStreamingClient[WatchLocalLinksResponse] + type Link_WatchLocalLinksServer = grpc.ServerStreamingServer[WatchLocalLinksResponse] + type SimulateLinkStateRequest struct + Disabled *bool + Jitter *int64 + LocalRegion string + PacketLoss *float64 + RemoteRegion string + Rtt *int64 + Timeout int64 + func (*SimulateLinkStateRequest) Descriptor() ([]byte, []int) + func (*SimulateLinkStateRequest) ProtoMessage() + func (x *SimulateLinkStateRequest) GetDisabled() bool + func (x *SimulateLinkStateRequest) GetJitter() int64 + func (x *SimulateLinkStateRequest) GetLocalRegion() string + func (x *SimulateLinkStateRequest) GetPacketLoss() float64 + func (x *SimulateLinkStateRequest) GetRemoteRegion() string + func (x *SimulateLinkStateRequest) GetRtt() int64 + func (x *SimulateLinkStateRequest) GetTimeout() int64 + func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message + func (x *SimulateLinkStateRequest) Reset() + func (x *SimulateLinkStateRequest) String() string + type SimulateLinkStateResponse struct + func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) + func (*SimulateLinkStateResponse) ProtoMessage() + func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message + func (x *SimulateLinkStateResponse) Reset() + func (x *SimulateLinkStateResponse) String() string + type UnimplementedLinkServer struct + func (UnimplementedLinkServer) SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) + func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error + type UnsafeLinkServer interface + type WatchLocalLinksRequest struct + func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) + func (*WatchLocalLinksRequest) ProtoMessage() + func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message + func (x *WatchLocalLinksRequest) Reset() + func (x *WatchLocalLinksRequest) String() string + type WatchLocalLinksResponse struct + Disabled bool + Jitter int64 + LastRead *timestamppb.Timestamp + LocalRegion string + PacketLoss float64 + RemoteRegion string + Rtt int64 + func (*WatchLocalLinksResponse) Descriptor() ([]byte, []int) + func (*WatchLocalLinksResponse) ProtoMessage() + func (x *WatchLocalLinksResponse) GetDisabled() bool + func (x *WatchLocalLinksResponse) GetJitter() int64 + func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp + func (x *WatchLocalLinksResponse) GetLocalRegion() string + func (x *WatchLocalLinksResponse) GetPacketLoss() float64 + func (x *WatchLocalLinksResponse) GetRemoteRegion() string + func (x *WatchLocalLinksResponse) GetRtt() int64 + func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message + func (x *WatchLocalLinksResponse) Reset() + func (x *WatchLocalLinksResponse) String() string