Documentation ¶
Index ¶
- Variables
- type CloseConnsReq
- type ConnResp
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAddr() string
- func (x *Connection) GetExtra() map[string]string
- func (x *Connection) GetId() int64
- func (x *Connection) GetLocal() string
- func (x *Connection) GetRemote() string
- func (x *Connection) GetType() string
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type RateResp
- func (*RateResp) Descriptor() ([]byte, []int)deprecated
- func (x *RateResp) GetDownload() string
- func (x *RateResp) GetDownloadRate() string
- func (x *RateResp) GetUpload() string
- func (x *RateResp) GetUploadRate() string
- func (*RateResp) ProtoMessage()
- func (x *RateResp) ProtoReflect() protoreflect.Message
- func (x *RateResp) Reset()
- func (x *RateResp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_statistic_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CloseConnsReq ¶
type CloseConnsReq struct { Conns []int64 `protobuf:"varint,1,rep,packed,name=conns,proto3" json:"conns,omitempty"` // contains filtered or unexported fields }
func (*CloseConnsReq) Descriptor
deprecated
func (*CloseConnsReq) Descriptor() ([]byte, []int)
Deprecated: Use CloseConnsReq.ProtoReflect.Descriptor instead.
func (*CloseConnsReq) GetConns ¶
func (x *CloseConnsReq) GetConns() []int64
func (*CloseConnsReq) ProtoMessage ¶
func (*CloseConnsReq) ProtoMessage()
func (*CloseConnsReq) ProtoReflect ¶
func (x *CloseConnsReq) ProtoReflect() protoreflect.Message
func (*CloseConnsReq) Reset ¶
func (x *CloseConnsReq) Reset()
func (*CloseConnsReq) String ¶
func (x *CloseConnsReq) String() string
type ConnResp ¶
type ConnResp struct { Connections []*Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"` // contains filtered or unexported fields }
func (*ConnResp) Descriptor
deprecated
func (*ConnResp) GetConnections ¶
func (x *ConnResp) GetConnections() []*Connection
func (*ConnResp) ProtoMessage ¶
func (*ConnResp) ProtoMessage()
func (*ConnResp) ProtoReflect ¶
func (x *ConnResp) ProtoReflect() protoreflect.Message
type Connection ¶
type Connection struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Local string `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"` Remote string `protobuf:"bytes,4,opt,name=remote,proto3" json:"remote,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetAddr ¶
func (x *Connection) GetAddr() string
func (*Connection) GetExtra ¶
func (x *Connection) GetExtra() map[string]string
func (*Connection) GetId ¶
func (x *Connection) GetId() int64
func (*Connection) GetLocal ¶
func (x *Connection) GetLocal() string
func (*Connection) GetRemote ¶
func (x *Connection) GetRemote() string
func (*Connection) GetType ¶
func (x *Connection) GetType() string
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type RateResp ¶
type RateResp struct { Download string `protobuf:"bytes,1,opt,name=download,proto3" json:"download,omitempty"` Upload string `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload,omitempty"` DownloadRate string `protobuf:"bytes,3,opt,name=download_rate,proto3" json:"download_rate,omitempty"` UploadRate string `protobuf:"bytes,4,opt,name=upload_rate,proto3" json:"upload_rate,omitempty"` // contains filtered or unexported fields }
func (*RateResp) Descriptor
deprecated
func (*RateResp) GetDownload ¶
func (*RateResp) GetDownloadRate ¶
func (*RateResp) GetUploadRate ¶
func (*RateResp) ProtoMessage ¶
func (*RateResp) ProtoMessage()
func (*RateResp) ProtoReflect ¶
func (x *RateResp) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.