statistic

package
v0.3.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 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) Descriptor() ([]byte, []int)

Deprecated: Use ConnResp.ProtoReflect.Descriptor instead.

func (*ConnResp) GetConnections

func (x *ConnResp) GetConnections() []*Connection

func (*ConnResp) ProtoMessage

func (*ConnResp) ProtoMessage()

func (*ConnResp) ProtoReflect

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

func (*ConnResp) Reset

func (x *ConnResp) Reset()

func (*ConnResp) String

func (x *ConnResp) String() string

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

Deprecated: Use RateResp.ProtoReflect.Descriptor instead.

func (*RateResp) GetDownload

func (x *RateResp) GetDownload() uint64

func (*RateResp) GetUpload

func (x *RateResp) GetUpload() uint64

func (*RateResp) ProtoMessage

func (*RateResp) ProtoMessage()

func (*RateResp) ProtoReflect

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

func (*RateResp) Reset

func (x *RateResp) Reset()

func (*RateResp) String

func (x *RateResp) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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