statistic

package
v0.3.1-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use NetType.ProtoReflect.Descriptor instead.

func (*NetType) GetConnType

func (x *NetType) GetConnType() string

func (*NetType) GetUnderlyingType

func (x *NetType) GetUnderlyingType() string

func (*NetType) ProtoMessage

func (*NetType) ProtoMessage()

func (*NetType) ProtoReflect

func (x *NetType) ProtoReflect() protoreflect.Message

func (*NetType) Reset

func (x *NetType) Reset()

func (*NetType) String

func (x *NetType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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