uPinger

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IcmpResult_ResultType_name = map[int32]string{
	0: "IcmpResultTypeUnknown",
	1: "IcmpResultTypeReceive",
	2: "IcmpResultTypeReceiveAfterTimeout",
	3: "IcmpResultTypeTTLExceeded",
	4: "IcmpResultTypeTimeout",
}
View Source
var IcmpResult_ResultType_value = map[string]int32{
	"IcmpResultTypeUnknown":             0,
	"IcmpResultTypeReceive":             1,
	"IcmpResultTypeReceiveAfterTimeout": 2,
	"IcmpResultTypeTTLExceeded":         3,
	"IcmpResultTypeTimeout":             4,
}

Functions

func RegisterPingerServer

func RegisterPingerServer(s *grpc.Server, srv PingerServer)

Types

type IcmpResult

type IcmpResult struct {
	Type                   IcmpResult_ResultType `protobuf:"varint,1,opt,name=type,proto3,enum=uPinger.IcmpResult_ResultType" json:"type,omitempty"`
	TargetID               uint32                `protobuf:"fixed32,2,opt,name=TargetID,proto3" json:"TargetID,omitempty"`
	BinPeerIP              uint32                `protobuf:"fixed32,3,opt,name=BinPeerIP,proto3" json:"BinPeerIP,omitempty"`
	Sequence               int64                 `protobuf:"varint,4,opt,name=Sequence,proto3" json:"Sequence,omitempty"`
	SendTimeUnixNanosec    int64                 `protobuf:"varint,5,opt,name=SendTimeUnixNanosec,proto3" json:"SendTimeUnixNanosec,omitempty"`
	ReceiveTimeUnixNanosec int64                 `protobuf:"varint,6,opt,name=ReceiveTimeUnixNanosec,proto3" json:"ReceiveTimeUnixNanosec,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}              `json:"-"`
	XXX_unrecognized       []byte                `json:"-"`
	XXX_sizecache          int32                 `json:"-"`
}

func (*IcmpResult) Descriptor

func (*IcmpResult) Descriptor() ([]byte, []int)

func (*IcmpResult) GetBinPeerIP

func (m *IcmpResult) GetBinPeerIP() uint32

func (*IcmpResult) GetReceiveTimeUnixNanosec

func (m *IcmpResult) GetReceiveTimeUnixNanosec() int64

func (*IcmpResult) GetSendTimeUnixNanosec

func (m *IcmpResult) GetSendTimeUnixNanosec() int64

func (*IcmpResult) GetSequence

func (m *IcmpResult) GetSequence() int64

func (*IcmpResult) GetTargetID

func (m *IcmpResult) GetTargetID() uint32

func (*IcmpResult) GetType

func (m *IcmpResult) GetType() IcmpResult_ResultType

func (*IcmpResult) ProtoMessage

func (*IcmpResult) ProtoMessage()

func (*IcmpResult) Reset

func (m *IcmpResult) Reset()

func (*IcmpResult) String

func (m *IcmpResult) String() string

func (*IcmpResult) XXX_DiscardUnknown

func (m *IcmpResult) XXX_DiscardUnknown()

func (*IcmpResult) XXX_Marshal

func (m *IcmpResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IcmpResult) XXX_Merge

func (m *IcmpResult) XXX_Merge(src proto.Message)

func (*IcmpResult) XXX_Size

func (m *IcmpResult) XXX_Size() int

func (*IcmpResult) XXX_Unmarshal

func (m *IcmpResult) XXX_Unmarshal(b []byte) error

type IcmpResult_ResultType

type IcmpResult_ResultType int32
const (
	IcmpResult_IcmpResultTypeUnknown             IcmpResult_ResultType = 0
	IcmpResult_IcmpResultTypeReceive             IcmpResult_ResultType = 1
	IcmpResult_IcmpResultTypeReceiveAfterTimeout IcmpResult_ResultType = 2
	IcmpResult_IcmpResultTypeTTLExceeded         IcmpResult_ResultType = 3
	IcmpResult_IcmpResultTypeTimeout             IcmpResult_ResultType = 4
)

func (IcmpResult_ResultType) EnumDescriptor

func (IcmpResult_ResultType) EnumDescriptor() ([]byte, []int)

func (IcmpResult_ResultType) String

func (x IcmpResult_ResultType) String() string

type Null

type Null struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Null) Descriptor

func (*Null) Descriptor() ([]byte, []int)

func (*Null) ProtoMessage

func (*Null) ProtoMessage()

func (*Null) Reset

func (m *Null) Reset()

func (*Null) String

func (m *Null) String() string

func (*Null) XXX_DiscardUnknown

func (m *Null) XXX_DiscardUnknown()

func (*Null) XXX_Marshal

func (m *Null) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Null) XXX_Merge

func (m *Null) XXX_Merge(src proto.Message)

func (*Null) XXX_Size

func (m *Null) XXX_Size() int

func (*Null) XXX_Unmarshal

func (m *Null) XXX_Unmarshal(b []byte) error

type PingerClient

type PingerClient interface {
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*PingerID, error)
	Stop(ctx context.Context, in *PingerID, opts ...grpc.CallOption) (*Null, error)
	GetPingerList(ctx context.Context, in *Null, opts ...grpc.CallOption) (*PingerList, error)
	GetPingerInfo(ctx context.Context, in *PingerID, opts ...grpc.CallOption) (*PingerInfo, error)
	GetsStatistics(ctx context.Context, in *PingerID, opts ...grpc.CallOption) (Pinger_GetsStatisticsClient, error)
	GetsIcmpResult(ctx context.Context, in *PingerID, opts ...grpc.CallOption) (Pinger_GetsIcmpResultClient, error)
}

PingerClient is the client API for Pinger service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPingerClient

func NewPingerClient(cc grpc.ClientConnInterface) PingerClient

type PingerID

type PingerID struct {
	PingerID             uint32   `protobuf:"varint,1,opt,name=PingerID,proto3" json:"PingerID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingerID) Descriptor

func (*PingerID) Descriptor() ([]byte, []int)

func (*PingerID) GetPingerID

func (m *PingerID) GetPingerID() uint32

func (*PingerID) ProtoMessage

func (*PingerID) ProtoMessage()

func (*PingerID) Reset

func (m *PingerID) Reset()

func (*PingerID) String

func (m *PingerID) String() string

func (*PingerID) XXX_DiscardUnknown

func (m *PingerID) XXX_DiscardUnknown()

func (*PingerID) XXX_Marshal

func (m *PingerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingerID) XXX_Merge

func (m *PingerID) XXX_Merge(src proto.Message)

func (*PingerID) XXX_Size

func (m *PingerID) XXX_Size() int

func (*PingerID) XXX_Unmarshal

func (m *PingerID) XXX_Unmarshal(b []byte) error

type PingerInfo

type PingerInfo struct {
	Description           string                   `protobuf:"bytes,1,opt,name=Description,proto3" json:"Description,omitempty"`
	Targets               []*PingerInfo_IcmpTarget `protobuf:"bytes,2,rep,name=Targets,proto3" json:"Targets,omitempty"`
	IntervalMillisec      uint64                   `protobuf:"varint,3,opt,name=IntervalMillisec,proto3" json:"IntervalMillisec,omitempty"`
	TimeoutMillisec       uint64                   `protobuf:"varint,4,opt,name=TimeoutMillisec,proto3" json:"TimeoutMillisec,omitempty"`
	StatisticsCountsNum   uint64                   `protobuf:"varint,5,opt,name=StatisticsCountsNum,proto3" json:"StatisticsCountsNum,omitempty"`
	StatisticsIntervalSec uint64                   `protobuf:"varint,6,opt,name=StatisticsIntervalSec,proto3" json:"StatisticsIntervalSec,omitempty"`
	StartUnixNanosec      uint64                   `protobuf:"varint,8,opt,name=StartUnixNanosec,proto3" json:"StartUnixNanosec,omitempty"`
	ExpireUnixNanosec     uint64                   `protobuf:"varint,7,opt,name=ExpireUnixNanosec,proto3" json:"ExpireUnixNanosec,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                 `json:"-"`
	XXX_unrecognized      []byte                   `json:"-"`
	XXX_sizecache         int32                    `json:"-"`
}

func (*PingerInfo) Descriptor

func (*PingerInfo) Descriptor() ([]byte, []int)

func (*PingerInfo) GetDescription

func (m *PingerInfo) GetDescription() string

func (*PingerInfo) GetExpireUnixNanosec

func (m *PingerInfo) GetExpireUnixNanosec() uint64

func (*PingerInfo) GetIntervalMillisec

func (m *PingerInfo) GetIntervalMillisec() uint64

func (*PingerInfo) GetStartUnixNanosec

func (m *PingerInfo) GetStartUnixNanosec() uint64

func (*PingerInfo) GetStatisticsCountsNum

func (m *PingerInfo) GetStatisticsCountsNum() uint64

func (*PingerInfo) GetStatisticsIntervalSec

func (m *PingerInfo) GetStatisticsIntervalSec() uint64

func (*PingerInfo) GetTargets

func (m *PingerInfo) GetTargets() []*PingerInfo_IcmpTarget

func (*PingerInfo) GetTimeoutMillisec

func (m *PingerInfo) GetTimeoutMillisec() uint64

func (*PingerInfo) ProtoMessage

func (*PingerInfo) ProtoMessage()

func (*PingerInfo) Reset

func (m *PingerInfo) Reset()

func (*PingerInfo) String

func (m *PingerInfo) String() string

func (*PingerInfo) XXX_DiscardUnknown

func (m *PingerInfo) XXX_DiscardUnknown()

func (*PingerInfo) XXX_Marshal

func (m *PingerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingerInfo) XXX_Merge

func (m *PingerInfo) XXX_Merge(src proto.Message)

func (*PingerInfo) XXX_Size

func (m *PingerInfo) XXX_Size() int

func (*PingerInfo) XXX_Unmarshal

func (m *PingerInfo) XXX_Unmarshal(b []byte) error

type PingerInfo_IcmpTarget

type PingerInfo_IcmpTarget struct {
	TargetIP             string   `protobuf:"bytes,1,opt,name=TargetIP,proto3" json:"TargetIP,omitempty"`
	TargetBinIP          string   `protobuf:"bytes,4,opt,name=TargetBinIP,proto3" json:"TargetBinIP,omitempty"`
	Comment              string   `protobuf:"bytes,2,opt,name=Comment,proto3" json:"Comment,omitempty"`
	TargetID             uint32   `protobuf:"fixed32,3,opt,name=TargetID,proto3" json:"TargetID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingerInfo_IcmpTarget) Descriptor

func (*PingerInfo_IcmpTarget) Descriptor() ([]byte, []int)

func (*PingerInfo_IcmpTarget) GetComment

func (m *PingerInfo_IcmpTarget) GetComment() string

func (*PingerInfo_IcmpTarget) GetTargetBinIP

func (m *PingerInfo_IcmpTarget) GetTargetBinIP() string

func (*PingerInfo_IcmpTarget) GetTargetID

func (m *PingerInfo_IcmpTarget) GetTargetID() uint32

func (*PingerInfo_IcmpTarget) GetTargetIP

func (m *PingerInfo_IcmpTarget) GetTargetIP() string

func (*PingerInfo_IcmpTarget) ProtoMessage

func (*PingerInfo_IcmpTarget) ProtoMessage()

func (*PingerInfo_IcmpTarget) Reset

func (m *PingerInfo_IcmpTarget) Reset()

func (*PingerInfo_IcmpTarget) String

func (m *PingerInfo_IcmpTarget) String() string

func (*PingerInfo_IcmpTarget) XXX_DiscardUnknown

func (m *PingerInfo_IcmpTarget) XXX_DiscardUnknown()

func (*PingerInfo_IcmpTarget) XXX_Marshal

func (m *PingerInfo_IcmpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingerInfo_IcmpTarget) XXX_Merge

func (m *PingerInfo_IcmpTarget) XXX_Merge(src proto.Message)

func (*PingerInfo_IcmpTarget) XXX_Size

func (m *PingerInfo_IcmpTarget) XXX_Size() int

func (*PingerInfo_IcmpTarget) XXX_Unmarshal

func (m *PingerInfo_IcmpTarget) XXX_Unmarshal(b []byte) error

type PingerList

type PingerList struct {
	Pingers              []*PingerList_PingerSumally `protobuf:"bytes,1,rep,name=Pingers,proto3" json:"Pingers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*PingerList) Descriptor

func (*PingerList) Descriptor() ([]byte, []int)

func (*PingerList) GetPingers

func (m *PingerList) GetPingers() []*PingerList_PingerSumally

func (*PingerList) ProtoMessage

func (*PingerList) ProtoMessage()

func (*PingerList) Reset

func (m *PingerList) Reset()

func (*PingerList) String

func (m *PingerList) String() string

func (*PingerList) XXX_DiscardUnknown

func (m *PingerList) XXX_DiscardUnknown()

func (*PingerList) XXX_Marshal

func (m *PingerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingerList) XXX_Merge

func (m *PingerList) XXX_Merge(src proto.Message)

func (*PingerList) XXX_Size

func (m *PingerList) XXX_Size() int

func (*PingerList) XXX_Unmarshal

func (m *PingerList) XXX_Unmarshal(b []byte) error

type PingerList_PingerSumally

type PingerList_PingerSumally struct {
	PingerID             uint32   `protobuf:"varint,1,opt,name=PingerID,proto3" json:"PingerID,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	StartUnixNanosec     uint64   `protobuf:"varint,3,opt,name=StartUnixNanosec,proto3" json:"StartUnixNanosec,omitempty"`
	ExpireUnixNanosec    uint64   `protobuf:"varint,4,opt,name=ExpireUnixNanosec,proto3" json:"ExpireUnixNanosec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingerList_PingerSumally) Descriptor

func (*PingerList_PingerSumally) Descriptor() ([]byte, []int)

func (*PingerList_PingerSumally) GetDescription

func (m *PingerList_PingerSumally) GetDescription() string

func (*PingerList_PingerSumally) GetExpireUnixNanosec

func (m *PingerList_PingerSumally) GetExpireUnixNanosec() uint64

func (*PingerList_PingerSumally) GetPingerID

func (m *PingerList_PingerSumally) GetPingerID() uint32

func (*PingerList_PingerSumally) GetStartUnixNanosec

func (m *PingerList_PingerSumally) GetStartUnixNanosec() uint64

func (*PingerList_PingerSumally) ProtoMessage

func (*PingerList_PingerSumally) ProtoMessage()

func (*PingerList_PingerSumally) Reset

func (m *PingerList_PingerSumally) Reset()

func (*PingerList_PingerSumally) String

func (m *PingerList_PingerSumally) String() string

func (*PingerList_PingerSumally) XXX_DiscardUnknown

func (m *PingerList_PingerSumally) XXX_DiscardUnknown()

func (*PingerList_PingerSumally) XXX_Marshal

func (m *PingerList_PingerSumally) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingerList_PingerSumally) XXX_Merge

func (m *PingerList_PingerSumally) XXX_Merge(src proto.Message)

func (*PingerList_PingerSumally) XXX_Size

func (m *PingerList_PingerSumally) XXX_Size() int

func (*PingerList_PingerSumally) XXX_Unmarshal

func (m *PingerList_PingerSumally) XXX_Unmarshal(b []byte) error

type PingerServer

type PingerServer interface {
	Start(context.Context, *StartRequest) (*PingerID, error)
	Stop(context.Context, *PingerID) (*Null, error)
	GetPingerList(context.Context, *Null) (*PingerList, error)
	GetPingerInfo(context.Context, *PingerID) (*PingerInfo, error)
	GetsStatistics(*PingerID, Pinger_GetsStatisticsServer) error
	GetsIcmpResult(*PingerID, Pinger_GetsIcmpResultServer) error
}

PingerServer is the server API for Pinger service.

type Pinger_GetsIcmpResultClient

type Pinger_GetsIcmpResultClient interface {
	Recv() (*IcmpResult, error)
	grpc.ClientStream
}

type Pinger_GetsIcmpResultServer

type Pinger_GetsIcmpResultServer interface {
	Send(*IcmpResult) error
	grpc.ServerStream
}

type Pinger_GetsStatisticsClient

type Pinger_GetsStatisticsClient interface {
	Recv() (*Statistics, error)
	grpc.ClientStream
}

type Pinger_GetsStatisticsServer

type Pinger_GetsStatisticsServer interface {
	Send(*Statistics) error
	grpc.ServerStream
}

type StartRequest

type StartRequest struct {
	Description           string                     `protobuf:"bytes,1,opt,name=Description,proto3" json:"Description,omitempty"`
	Targets               []*StartRequest_IcmpTarget `protobuf:"bytes,2,rep,name=Targets,proto3" json:"Targets,omitempty"`
	IntervalMillisec      uint64                     `protobuf:"varint,3,opt,name=IntervalMillisec,proto3" json:"IntervalMillisec,omitempty"`
	TimeoutMillisec       uint64                     `protobuf:"varint,4,opt,name=TimeoutMillisec,proto3" json:"TimeoutMillisec,omitempty"`
	StatisticsCountsNum   uint64                     `protobuf:"varint,5,opt,name=StatisticsCountsNum,proto3" json:"StatisticsCountsNum,omitempty"`
	StopPingerSec         uint64                     `protobuf:"varint,6,opt,name=StopPingerSec,proto3" json:"StopPingerSec,omitempty"`
	StatisticsIntervalSec uint64                     `protobuf:"varint,7,opt,name=StatisticsIntervalSec,proto3" json:"StatisticsIntervalSec,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                   `json:"-"`
	XXX_unrecognized      []byte                     `json:"-"`
	XXX_sizecache         int32                      `json:"-"`
}

func (*StartRequest) Descriptor

func (*StartRequest) Descriptor() ([]byte, []int)

func (*StartRequest) GetDescription

func (m *StartRequest) GetDescription() string

func (*StartRequest) GetIntervalMillisec

func (m *StartRequest) GetIntervalMillisec() uint64

func (*StartRequest) GetStatisticsCountsNum

func (m *StartRequest) GetStatisticsCountsNum() uint64

func (*StartRequest) GetStatisticsIntervalSec

func (m *StartRequest) GetStatisticsIntervalSec() uint64

func (*StartRequest) GetStopPingerSec

func (m *StartRequest) GetStopPingerSec() uint64

func (*StartRequest) GetTargets

func (m *StartRequest) GetTargets() []*StartRequest_IcmpTarget

func (*StartRequest) GetTimeoutMillisec

func (m *StartRequest) GetTimeoutMillisec() uint64

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) Reset

func (m *StartRequest) Reset()

func (*StartRequest) String

func (m *StartRequest) String() string

func (*StartRequest) XXX_DiscardUnknown

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal

func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest) XXX_Merge

func (m *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal

func (m *StartRequest) XXX_Unmarshal(b []byte) error

type StartRequest_IcmpTarget

type StartRequest_IcmpTarget struct {
	TargetIP             string   `protobuf:"bytes,1,opt,name=TargetIP,proto3" json:"TargetIP,omitempty"`
	Comment              string   `protobuf:"bytes,2,opt,name=Comment,proto3" json:"Comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRequest_IcmpTarget) Descriptor

func (*StartRequest_IcmpTarget) Descriptor() ([]byte, []int)

func (*StartRequest_IcmpTarget) GetComment

func (m *StartRequest_IcmpTarget) GetComment() string

func (*StartRequest_IcmpTarget) GetTargetIP

func (m *StartRequest_IcmpTarget) GetTargetIP() string

func (*StartRequest_IcmpTarget) ProtoMessage

func (*StartRequest_IcmpTarget) ProtoMessage()

func (*StartRequest_IcmpTarget) Reset

func (m *StartRequest_IcmpTarget) Reset()

func (*StartRequest_IcmpTarget) String

func (m *StartRequest_IcmpTarget) String() string

func (*StartRequest_IcmpTarget) XXX_DiscardUnknown

func (m *StartRequest_IcmpTarget) XXX_DiscardUnknown()

func (*StartRequest_IcmpTarget) XXX_Marshal

func (m *StartRequest_IcmpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest_IcmpTarget) XXX_Merge

func (m *StartRequest_IcmpTarget) XXX_Merge(src proto.Message)

func (*StartRequest_IcmpTarget) XXX_Size

func (m *StartRequest_IcmpTarget) XXX_Size() int

func (*StartRequest_IcmpTarget) XXX_Unmarshal

func (m *StartRequest_IcmpTarget) XXX_Unmarshal(b []byte) error

type Statistics

type Statistics struct {
	Targets              []*Statistics_SuccessCount `protobuf:"bytes,1,rep,name=Targets,proto3" json:"Targets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*Statistics) Descriptor

func (*Statistics) Descriptor() ([]byte, []int)

func (*Statistics) GetTargets

func (m *Statistics) GetTargets() []*Statistics_SuccessCount

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) Reset

func (m *Statistics) Reset()

func (*Statistics) String

func (m *Statistics) String() string

func (*Statistics) XXX_DiscardUnknown

func (m *Statistics) XXX_DiscardUnknown()

func (*Statistics) XXX_Marshal

func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statistics) XXX_Merge

func (m *Statistics) XXX_Merge(src proto.Message)

func (*Statistics) XXX_Size

func (m *Statistics) XXX_Size() int

func (*Statistics) XXX_Unmarshal

func (m *Statistics) XXX_Unmarshal(b []byte) error

type Statistics_SuccessCount

type Statistics_SuccessCount struct {
	TargetID             uint32   `protobuf:"fixed32,1,opt,name=TargetID,proto3" json:"TargetID,omitempty"`
	Count                int64    `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Statistics_SuccessCount) Descriptor

func (*Statistics_SuccessCount) Descriptor() ([]byte, []int)

func (*Statistics_SuccessCount) GetCount

func (m *Statistics_SuccessCount) GetCount() int64

func (*Statistics_SuccessCount) GetTargetID

func (m *Statistics_SuccessCount) GetTargetID() uint32

func (*Statistics_SuccessCount) ProtoMessage

func (*Statistics_SuccessCount) ProtoMessage()

func (*Statistics_SuccessCount) Reset

func (m *Statistics_SuccessCount) Reset()

func (*Statistics_SuccessCount) String

func (m *Statistics_SuccessCount) String() string

func (*Statistics_SuccessCount) XXX_DiscardUnknown

func (m *Statistics_SuccessCount) XXX_DiscardUnknown()

func (*Statistics_SuccessCount) XXX_Marshal

func (m *Statistics_SuccessCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statistics_SuccessCount) XXX_Merge

func (m *Statistics_SuccessCount) XXX_Merge(src proto.Message)

func (*Statistics_SuccessCount) XXX_Size

func (m *Statistics_SuccessCount) XXX_Size() int

func (*Statistics_SuccessCount) XXX_Unmarshal

func (m *Statistics_SuccessCount) XXX_Unmarshal(b []byte) error

type UnimplementedPingerServer

type UnimplementedPingerServer struct {
}

UnimplementedPingerServer can be embedded to have forward compatible implementations.

func (*UnimplementedPingerServer) GetPingerInfo

func (*UnimplementedPingerServer) GetPingerInfo(ctx context.Context, req *PingerID) (*PingerInfo, error)

func (*UnimplementedPingerServer) GetPingerList

func (*UnimplementedPingerServer) GetPingerList(ctx context.Context, req *Null) (*PingerList, error)

func (*UnimplementedPingerServer) GetsIcmpResult

func (*UnimplementedPingerServer) GetsStatistics

func (*UnimplementedPingerServer) Start

func (*UnimplementedPingerServer) Stop

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL