pb_agent

package
v0.0.0-...-a36a61a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_agent_conn_header_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConnRequest

type ConnRequest struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int64  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnRequest) Descriptor deprecated

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

Deprecated: Use ConnRequest.ProtoReflect.Descriptor instead.

func (*ConnRequest) GetHost

func (x *ConnRequest) GetHost() string

func (*ConnRequest) GetPort

func (x *ConnRequest) GetPort() int64

func (*ConnRequest) ProtoMessage

func (*ConnRequest) ProtoMessage()

func (*ConnRequest) ProtoReflect

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

func (*ConnRequest) Reset

func (x *ConnRequest) Reset()

func (*ConnRequest) String

func (x *ConnRequest) String() string

type ConnResponse

type ConnResponse struct {

	// only set on success
	EndpointID string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	Proto      string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`
	// only set on error
	ErrorCode    string `protobuf:"bytes,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnResponse) Descriptor deprecated

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

Deprecated: Use ConnResponse.ProtoReflect.Descriptor instead.

func (*ConnResponse) GetEndpointID

func (x *ConnResponse) GetEndpointID() string

func (*ConnResponse) GetErrorCode

func (x *ConnResponse) GetErrorCode() string

func (*ConnResponse) GetErrorMessage

func (x *ConnResponse) GetErrorMessage() string

func (*ConnResponse) GetProto

func (x *ConnResponse) GetProto() string

func (*ConnResponse) ProtoMessage

func (*ConnResponse) ProtoMessage()

func (*ConnResponse) ProtoReflect

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

func (*ConnResponse) Reset

func (x *ConnResponse) Reset()

func (*ConnResponse) String

func (x *ConnResponse) String() string

Jump to

Keyboard shortcuts

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