proxy

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Proxy_Type_name = map[int32]string{
	0: "CONNECT",
	1: "SUCCESS",
	2: "FAILED",
}
View Source
var Proxy_Type_value = map[string]int32{
	"CONNECT": 0,
	"SUCCESS": 1,
	"FAILED":  2,
}

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Type                 *Proxy_Type `protobuf:"varint,1,opt,name=type,enum=proxy.Proxy_Type" json:"type,omitempty"`
	Protocol             *string     `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
	NodeName             *string     `protobuf:"bytes,3,opt,name=node_name,json=nodeName" json:"node_name,omitempty"`
	Ip                   *string     `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"`
	Port                 *int32      `protobuf:"varint,5,opt,name=port" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Proxy) Descriptor

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

func (*Proxy) GetIp

func (m *Proxy) GetIp() string

func (*Proxy) GetNodeName

func (m *Proxy) GetNodeName() string

func (*Proxy) GetPort

func (m *Proxy) GetPort() int32

func (*Proxy) GetProtocol

func (m *Proxy) GetProtocol() string

func (*Proxy) GetType

func (m *Proxy) GetType() Proxy_Type

func (*Proxy) ProtoMessage

func (*Proxy) ProtoMessage()

func (*Proxy) Reset

func (m *Proxy) Reset()

func (*Proxy) String

func (m *Proxy) String() string

func (*Proxy) XXX_DiscardUnknown

func (m *Proxy) XXX_DiscardUnknown()

func (*Proxy) XXX_Marshal

func (m *Proxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proxy) XXX_Merge

func (m *Proxy) XXX_Merge(src proto.Message)

func (*Proxy) XXX_Size

func (m *Proxy) XXX_Size() int

func (*Proxy) XXX_Unmarshal

func (m *Proxy) XXX_Unmarshal(b []byte) error

type Proxy_Type

type Proxy_Type int32
const (
	Proxy_CONNECT Proxy_Type = 0
	Proxy_SUCCESS Proxy_Type = 1
	Proxy_FAILED  Proxy_Type = 2
)

func (Proxy_Type) Enum

func (x Proxy_Type) Enum() *Proxy_Type

func (Proxy_Type) EnumDescriptor

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

func (Proxy_Type) String

func (x Proxy_Type) String() string

func (*Proxy_Type) UnmarshalJSON

func (x *Proxy_Type) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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