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() *ConnectionNetType
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type ConnectionNetType
- func (*ConnectionNetType) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionNetType) GetConnType() string
- func (x *ConnectionNetType) GetUnderlyingType() string
- func (*ConnectionNetType) ProtoMessage()
- func (x *ConnectionNetType) ProtoReflect() protoreflect.Message
- func (x *ConnectionNetType) Reset()
- func (x *ConnectionNetType) String() string
- type RateResp
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 *ConnectionNetType `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() *ConnectionNetType
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 ConnectionNetType ¶
type ConnectionNetType struct { ConnType string `protobuf:"bytes,1,opt,name=conn_type,proto3" json:"conn_type,omitempty"` UnderlyingType string `protobuf:"bytes,2,opt,name=underlying_type,proto3" json:"underlying_type,omitempty"` // contains filtered or unexported fields }
func (*ConnectionNetType) Descriptor
deprecated
func (*ConnectionNetType) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionNetType.ProtoReflect.Descriptor instead.
func (*ConnectionNetType) GetConnType ¶
func (x *ConnectionNetType) GetConnType() string
func (*ConnectionNetType) GetUnderlyingType ¶
func (x *ConnectionNetType) GetUnderlyingType() string
func (*ConnectionNetType) ProtoMessage ¶
func (*ConnectionNetType) ProtoMessage()
func (*ConnectionNetType) ProtoReflect ¶
func (x *ConnectionNetType) ProtoReflect() protoreflect.Message
func (*ConnectionNetType) Reset ¶
func (x *ConnectionNetType) Reset()
func (*ConnectionNetType) String ¶
func (x *ConnectionNetType) String() string
type RateResp ¶
type RateResp struct { Download uint64 `protobuf:"varint,1,opt,name=download,proto3" json:"download,omitempty"` Upload uint64 `protobuf:"varint,2,opt,name=upload,proto3" json:"upload,omitempty"` // contains filtered or unexported fields }
func (*RateResp) Descriptor
deprecated
func (*RateResp) GetDownload ¶
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.