Documentation ¶
Index ¶
- Variables
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAddr() string
- func (x *Connection) GetExtra() map[string]string
- func (x *Connection) GetId() uint64
- func (x *Connection) GetRemote() string
- func (x *Connection) GetType() *NetType
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type NetType
Constants ¶
This section is empty.
Variables ¶
View Source
var File_statistic_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Remote string `protobuf:"bytes,4,opt,name=remote,proto3" json:"remote,omitempty"` Type *NetType `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() uint64
func (*Connection) GetRemote ¶
func (x *Connection) GetRemote() string
func (*Connection) GetType ¶
func (x *Connection) GetType() *NetType
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 NetType ¶
type NetType 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 (*NetType) Descriptor
deprecated
func (*NetType) GetConnType ¶
func (*NetType) GetUnderlyingType ¶
func (*NetType) ProtoMessage ¶
func (*NetType) ProtoMessage()
func (*NetType) ProtoReflect ¶
func (x *NetType) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.