statistic

package
v0.3.1-beta.5 Latest Latest
Warning

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

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

Deprecated: Use RateResp.ProtoReflect.Descriptor instead.

func (*RateResp) GetDownload

func (x *RateResp) GetDownload() string

func (*RateResp) GetDownloadRate

func (x *RateResp) GetDownloadRate() string

func (*RateResp) GetUpload

func (x *RateResp) GetUpload() string

func (*RateResp) GetUploadRate

func (x *RateResp) GetUploadRate() string

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

Jump to

Keyboard shortcuts

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