perisco

package
v0.0.0-...-59efaf5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IPVersion_name = map[int32]string{
		0: "IP_UNKNOWN",
		1: "IPv4",
		2: "IPv6",
	}
	IPVersion_value = map[string]int32{
		"IP_UNKNOWN": 0,
		"IPv4":       1,
		"IPv6":       2,
	}
)

Enum value maps for IPVersion.

View Source
var (
	MySQLCommand_name = map[int32]string{
		0:  "COM_UNKNOWN",
		1:  "COM_QUERY",
		2:  "COM_QUIT",
		3:  "COM_INIT_DB",
		4:  "COM_FIELD_LIST",
		5:  "COM_REFRESH",
		6:  "COM_STATISTICS",
		7:  "COM_PROCESS_INFO",
		8:  "COM_PROCESS_KILL",
		9:  "COM_DEBUG",
		10: "COM_PING",
		11: "COM_CHANGE_USER",
		12: "COM_RESET_CONNECTION",
		13: "COM_SET_OPTION",
		14: "COM_STMT_PREPARE",
		15: "COM_STMT_EXECUTE",
		16: "COM_STMT_FETCH",
		17: "COM_STMT_CLOSE",
		18: "COM_STMT_RESET",
		19: "COM_STMT_SEND_LONG_DATA",
	}
	MySQLCommand_value = map[string]int32{
		"COM_UNKNOWN":             0,
		"COM_QUERY":               1,
		"COM_QUIT":                2,
		"COM_INIT_DB":             3,
		"COM_FIELD_LIST":          4,
		"COM_REFRESH":             5,
		"COM_STATISTICS":          6,
		"COM_PROCESS_INFO":        7,
		"COM_PROCESS_KILL":        8,
		"COM_DEBUG":               9,
		"COM_PING":                10,
		"COM_CHANGE_USER":         11,
		"COM_RESET_CONNECTION":    12,
		"COM_SET_OPTION":          13,
		"COM_STMT_PREPARE":        14,
		"COM_STMT_EXECUTE":        15,
		"COM_STMT_FETCH":          16,
		"COM_STMT_CLOSE":          17,
		"COM_STMT_RESET":          18,
		"COM_STMT_SEND_LONG_DATA": 19,
	}
)

Enum value maps for MySQLCommand.

View Source
var (
	MySQLResponseType_name = map[int32]string{
		0: "UNKNOWN",
		1: "OK",
		2: "ERR",
		3: "EOF",
	}
	MySQLResponseType_value = map[string]int32{
		"UNKNOWN": 0,
		"OK":      1,
		"ERR":     2,
		"EOF":     3,
	}
)

Enum value maps for MySQLResponseType.

View Source
var File_perisco_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	NodeName  string   `protobuf:"bytes,4,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint) Descriptor deprecated

func (*Endpoint) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetLabels

func (x *Endpoint) GetLabels() []string

func (*Endpoint) GetName

func (x *Endpoint) GetName() string

func (*Endpoint) GetNamespace

func (x *Endpoint) GetNamespace() string

func (*Endpoint) GetNodeName

func (x *Endpoint) GetNodeName() string

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

type HTTPHeader

type HTTPHeader struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPHeader) Descriptor deprecated

func (*HTTPHeader) Descriptor() ([]byte, []int)

Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.

func (*HTTPHeader) GetKey

func (x *HTTPHeader) GetKey() string

func (*HTTPHeader) GetValue

func (x *HTTPHeader) GetValue() string

func (*HTTPHeader) ProtoMessage

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) ProtoReflect

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

func (*HTTPHeader) Reset

func (x *HTTPHeader) Reset()

func (*HTTPHeader) String

func (x *HTTPHeader) String() string

type HTTPRequest

type HTTPRequest struct {
	Protocol string        `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Method   string        `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Url      string        `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Headers  []*HTTPHeader `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPRequest) Descriptor deprecated

func (*HTTPRequest) Descriptor() ([]byte, []int)

Deprecated: Use HTTPRequest.ProtoReflect.Descriptor instead.

func (*HTTPRequest) GetHeaders

func (x *HTTPRequest) GetHeaders() []*HTTPHeader

func (*HTTPRequest) GetMethod

func (x *HTTPRequest) GetMethod() string

func (*HTTPRequest) GetProtocol

func (x *HTTPRequest) GetProtocol() string

func (*HTTPRequest) GetUrl

func (x *HTTPRequest) GetUrl() string

func (*HTTPRequest) ProtoMessage

func (*HTTPRequest) ProtoMessage()

func (*HTTPRequest) ProtoReflect

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

func (*HTTPRequest) Reset

func (x *HTTPRequest) Reset()

func (*HTTPRequest) String

func (x *HTTPRequest) String() string

type HTTPResponse

type HTTPResponse struct {
	Protocol string        `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Code     uint32        `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"`
	Headers  []*HTTPHeader `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPResponse) Descriptor deprecated

func (*HTTPResponse) Descriptor() ([]byte, []int)

Deprecated: Use HTTPResponse.ProtoReflect.Descriptor instead.

func (*HTTPResponse) GetCode

func (x *HTTPResponse) GetCode() uint32

func (*HTTPResponse) GetHeaders

func (x *HTTPResponse) GetHeaders() []*HTTPHeader

func (*HTTPResponse) GetProtocol

func (x *HTTPResponse) GetProtocol() string

func (*HTTPResponse) ProtoMessage

func (*HTTPResponse) ProtoMessage()

func (*HTTPResponse) ProtoReflect

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

func (*HTTPResponse) Reset

func (x *HTTPResponse) Reset()

func (*HTTPResponse) String

func (x *HTTPResponse) String() string

type IP

type IP struct {
	Client    string    `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	Server    string    `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	IpVersion IPVersion `protobuf:"varint,3,opt,name=ipVersion,proto3,enum=perisco.IPVersion" json:"ipVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*IP) Descriptor deprecated

func (*IP) Descriptor() ([]byte, []int)

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetClient

func (x *IP) GetClient() string

func (*IP) GetIpVersion

func (x *IP) GetIpVersion() IPVersion

func (*IP) GetServer

func (x *IP) GetServer() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

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

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type IPVersion

type IPVersion int32
const (
	IPVersion_IP_UNKNOWN IPVersion = 0
	IPVersion_IPv4       IPVersion = 1
	IPVersion_IPv6       IPVersion = 2
)

func (IPVersion) Descriptor

func (IPVersion) Descriptor() protoreflect.EnumDescriptor

func (IPVersion) Enum

func (x IPVersion) Enum() *IPVersion

func (IPVersion) EnumDescriptor deprecated

func (IPVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use IPVersion.Descriptor instead.

func (IPVersion) Number

func (x IPVersion) Number() protoreflect.EnumNumber

func (IPVersion) String

func (x IPVersion) String() string

func (IPVersion) Type

type K8SProtoMessage

type K8SProtoMessage struct {
	ProtoMessage_ *ProtoMessage `protobuf:"bytes,1,opt,name=proto_message,json=protoMessage,proto3" json:"proto_message,omitempty"`
	Client        *Endpoint     `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	Server        *Endpoint     `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	ClientService *Service      `protobuf:"bytes,4,opt,name=client_service,json=clientService,proto3" json:"client_service,omitempty"`
	ServerService *Service      `protobuf:"bytes,5,opt,name=server_service,json=serverService,proto3" json:"server_service,omitempty"`
	// contains filtered or unexported fields
}

func (*K8SProtoMessage) Descriptor deprecated

func (*K8SProtoMessage) Descriptor() ([]byte, []int)

Deprecated: Use K8SProtoMessage.ProtoReflect.Descriptor instead.

func (*K8SProtoMessage) GetClient

func (x *K8SProtoMessage) GetClient() *Endpoint

func (*K8SProtoMessage) GetClientService

func (x *K8SProtoMessage) GetClientService() *Service

func (*K8SProtoMessage) GetProtoMessage_

func (x *K8SProtoMessage) GetProtoMessage_() *ProtoMessage

func (*K8SProtoMessage) GetServer

func (x *K8SProtoMessage) GetServer() *Endpoint

func (*K8SProtoMessage) GetServerService

func (x *K8SProtoMessage) GetServerService() *Service

func (*K8SProtoMessage) ProtoMessage

func (*K8SProtoMessage) ProtoMessage()

func (*K8SProtoMessage) ProtoReflect

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

func (*K8SProtoMessage) Reset

func (x *K8SProtoMessage) Reset()

func (*K8SProtoMessage) String

func (x *K8SProtoMessage) String() string

type Layer4

type Layer4 struct {

	// Types that are assignable to Protocol:
	//	*Layer4_TCP
	//	*Layer4_UDP
	Protocol isLayer4_Protocol `protobuf_oneof:"protocol"`
	// contains filtered or unexported fields
}

func (*Layer4) Descriptor deprecated

func (*Layer4) Descriptor() ([]byte, []int)

Deprecated: Use Layer4.ProtoReflect.Descriptor instead.

func (*Layer4) GetProtocol

func (m *Layer4) GetProtocol() isLayer4_Protocol

func (*Layer4) GetTCP

func (x *Layer4) GetTCP() *TCP

func (*Layer4) GetUDP

func (x *Layer4) GetUDP() *UDP

func (*Layer4) ProtoMessage

func (*Layer4) ProtoMessage()

func (*Layer4) ProtoReflect

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

func (*Layer4) Reset

func (x *Layer4) Reset()

func (*Layer4) String

func (x *Layer4) String() string

type Layer4_TCP

type Layer4_TCP struct {
	TCP *TCP `protobuf:"bytes,1,opt,name=TCP,proto3,oneof"`
}

type Layer4_UDP

type Layer4_UDP struct {
	UDP *UDP `protobuf:"bytes,2,opt,name=UDP,proto3,oneof"`
}

type Layer7

type Layer7 struct {
	LatencyNs uint64    `protobuf:"varint,1,opt,name=latency_ns,json=latencyNs,proto3" json:"latency_ns,omitempty"`
	Request   *Request  `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	Response  *Response `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*Layer7) Descriptor deprecated

func (*Layer7) Descriptor() ([]byte, []int)

Deprecated: Use Layer7.ProtoReflect.Descriptor instead.

func (*Layer7) GetLatencyNs

func (x *Layer7) GetLatencyNs() uint64

func (*Layer7) GetRequest

func (x *Layer7) GetRequest() *Request

func (*Layer7) GetResponse

func (x *Layer7) GetResponse() *Response

func (*Layer7) ProtoMessage

func (*Layer7) ProtoMessage()

func (*Layer7) ProtoReflect

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

func (*Layer7) Reset

func (x *Layer7) Reset()

func (*Layer7) String

func (x *Layer7) String() string

type MySQLCommand

type MySQLCommand int32
const (
	MySQLCommand_COM_UNKNOWN             MySQLCommand = 0
	MySQLCommand_COM_QUERY               MySQLCommand = 1
	MySQLCommand_COM_QUIT                MySQLCommand = 2
	MySQLCommand_COM_INIT_DB             MySQLCommand = 3
	MySQLCommand_COM_FIELD_LIST          MySQLCommand = 4
	MySQLCommand_COM_REFRESH             MySQLCommand = 5
	MySQLCommand_COM_STATISTICS          MySQLCommand = 6
	MySQLCommand_COM_PROCESS_INFO        MySQLCommand = 7
	MySQLCommand_COM_PROCESS_KILL        MySQLCommand = 8
	MySQLCommand_COM_DEBUG               MySQLCommand = 9
	MySQLCommand_COM_PING                MySQLCommand = 10
	MySQLCommand_COM_CHANGE_USER         MySQLCommand = 11
	MySQLCommand_COM_RESET_CONNECTION    MySQLCommand = 12
	MySQLCommand_COM_SET_OPTION          MySQLCommand = 13
	MySQLCommand_COM_STMT_PREPARE        MySQLCommand = 14
	MySQLCommand_COM_STMT_EXECUTE        MySQLCommand = 15
	MySQLCommand_COM_STMT_FETCH          MySQLCommand = 16
	MySQLCommand_COM_STMT_CLOSE          MySQLCommand = 17
	MySQLCommand_COM_STMT_RESET          MySQLCommand = 18
	MySQLCommand_COM_STMT_SEND_LONG_DATA MySQLCommand = 19
)

func (MySQLCommand) Descriptor

func (MySQLCommand) Enum

func (x MySQLCommand) Enum() *MySQLCommand

func (MySQLCommand) EnumDescriptor deprecated

func (MySQLCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use MySQLCommand.Descriptor instead.

func (MySQLCommand) Number

func (MySQLCommand) String

func (x MySQLCommand) String() string

func (MySQLCommand) Type

type MySQLRequest

type MySQLRequest struct {
	PayloadLength uint32       `protobuf:"varint,1,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"`
	Command       MySQLCommand `protobuf:"varint,2,opt,name=command,proto3,enum=perisco.MySQLCommand" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*MySQLRequest) Descriptor deprecated

func (*MySQLRequest) Descriptor() ([]byte, []int)

Deprecated: Use MySQLRequest.ProtoReflect.Descriptor instead.

func (*MySQLRequest) GetCommand

func (x *MySQLRequest) GetCommand() MySQLCommand

func (*MySQLRequest) GetPayloadLength

func (x *MySQLRequest) GetPayloadLength() uint32

func (*MySQLRequest) ProtoMessage

func (*MySQLRequest) ProtoMessage()

func (*MySQLRequest) ProtoReflect

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

func (*MySQLRequest) Reset

func (x *MySQLRequest) Reset()

func (*MySQLRequest) String

func (x *MySQLRequest) String() string

type MySQLResponse

type MySQLResponse struct {
	Type         MySQLResponseType `protobuf:"varint,1,opt,name=type,proto3,enum=perisco.MySQLResponseType" json:"type,omitempty"`
	AffectedRows uint64            `protobuf:"varint,2,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
	ErrorCode    uint32            `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// contains filtered or unexported fields
}

func (*MySQLResponse) Descriptor deprecated

func (*MySQLResponse) Descriptor() ([]byte, []int)

Deprecated: Use MySQLResponse.ProtoReflect.Descriptor instead.

func (*MySQLResponse) GetAffectedRows

func (x *MySQLResponse) GetAffectedRows() uint64

func (*MySQLResponse) GetErrorCode

func (x *MySQLResponse) GetErrorCode() uint32

func (*MySQLResponse) GetType

func (x *MySQLResponse) GetType() MySQLResponseType

func (*MySQLResponse) ProtoMessage

func (*MySQLResponse) ProtoMessage()

func (*MySQLResponse) ProtoReflect

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

func (*MySQLResponse) Reset

func (x *MySQLResponse) Reset()

func (*MySQLResponse) String

func (x *MySQLResponse) String() string

type MySQLResponseType

type MySQLResponseType int32
const (
	MySQLResponseType_UNKNOWN MySQLResponseType = 0
	MySQLResponseType_OK      MySQLResponseType = 1
	MySQLResponseType_ERR     MySQLResponseType = 2
	MySQLResponseType_EOF     MySQLResponseType = 3
)

func (MySQLResponseType) Descriptor

func (MySQLResponseType) Enum

func (MySQLResponseType) EnumDescriptor deprecated

func (MySQLResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MySQLResponseType.Descriptor instead.

func (MySQLResponseType) Number

func (MySQLResponseType) String

func (x MySQLResponseType) String() string

func (MySQLResponseType) Type

type ProtoMessage

type ProtoMessage struct {
	Ts  *timestamp.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Pid uint32               `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	Ip  *IP                  `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	L4  *Layer4              `protobuf:"bytes,4,opt,name=l4,proto3" json:"l4,omitempty"`
	L7  *Layer7              `protobuf:"bytes,5,opt,name=l7,proto3" json:"l7,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoMessage) Descriptor deprecated

func (*ProtoMessage) Descriptor() ([]byte, []int)

Deprecated: Use ProtoMessage.ProtoReflect.Descriptor instead.

func (*ProtoMessage) GetIp

func (x *ProtoMessage) GetIp() *IP

func (*ProtoMessage) GetL4

func (x *ProtoMessage) GetL4() *Layer4

func (*ProtoMessage) GetL7

func (x *ProtoMessage) GetL7() *Layer7

func (*ProtoMessage) GetPid

func (x *ProtoMessage) GetPid() uint32

func (*ProtoMessage) GetTs

func (x *ProtoMessage) GetTs() *timestamp.Timestamp

func (*ProtoMessage) ProtoMessage

func (*ProtoMessage) ProtoMessage()

func (*ProtoMessage) ProtoReflect

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

func (*ProtoMessage) Reset

func (x *ProtoMessage) Reset()

func (*ProtoMessage) String

func (x *ProtoMessage) String() string

type Request

type Request struct {

	// Types that are assignable to Record:
	//	*Request_Http
	//	*Request_Mysql
	Record isRequest_Record `protobuf_oneof:"record"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetHttp

func (x *Request) GetHttp() *HTTPRequest

func (*Request) GetMysql

func (x *Request) GetMysql() *MySQLRequest

func (*Request) GetRecord

func (m *Request) GetRecord() isRequest_Record

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_Http

type Request_Http struct {
	Http *HTTPRequest `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}

type Request_Mysql

type Request_Mysql struct {
	Mysql *MySQLRequest `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}

type Response

type Response struct {

	// Types that are assignable to Record:
	//	*Response_Http
	//	*Response_Mysql
	Record isResponse_Record `protobuf_oneof:"record"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetHttp

func (x *Response) GetHttp() *HTTPResponse

func (*Response) GetMysql

func (x *Response) GetMysql() *MySQLResponse

func (*Response) GetRecord

func (m *Response) GetRecord() isResponse_Record

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Response_Http

type Response_Http struct {
	Http *HTTPResponse `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}

type Response_Mysql

type Response_Mysql struct {
	Mysql *MySQLResponse `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}

type Service

type Service struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetLabels

func (x *Service) GetLabels() []string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetNamespace

func (x *Service) GetNamespace() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type TCP

type TCP struct {
	ClientPort uint32 `protobuf:"varint,1,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	ServerPort uint32 `protobuf:"varint,2,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"`
	// contains filtered or unexported fields
}

func (*TCP) Descriptor deprecated

func (*TCP) Descriptor() ([]byte, []int)

Deprecated: Use TCP.ProtoReflect.Descriptor instead.

func (*TCP) GetClientPort

func (x *TCP) GetClientPort() uint32

func (*TCP) GetServerPort

func (x *TCP) GetServerPort() uint32

func (*TCP) ProtoMessage

func (*TCP) ProtoMessage()

func (*TCP) ProtoReflect

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

func (*TCP) Reset

func (x *TCP) Reset()

func (*TCP) String

func (x *TCP) String() string

type UDP

type UDP struct {
	ClientPort uint32 `protobuf:"varint,1,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	ServerPort uint32 `protobuf:"varint,2,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"`
	// contains filtered or unexported fields
}

func (*UDP) Descriptor deprecated

func (*UDP) Descriptor() ([]byte, []int)

Deprecated: Use UDP.ProtoReflect.Descriptor instead.

func (*UDP) GetClientPort

func (x *UDP) GetClientPort() uint32

func (*UDP) GetServerPort

func (x *UDP) GetServerPort() uint32

func (*UDP) ProtoMessage

func (*UDP) ProtoMessage()

func (*UDP) ProtoReflect

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

func (*UDP) Reset

func (x *UDP) Reset()

func (*UDP) String

func (x *UDP) String() string

Jump to

Keyboard shortcuts

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