v2

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDubboProxy = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDubboProxy   = fmt.Errorf("proto: integer overflow")
)
View Source
var DubboProxy_ProtocolType_name = map[int32]string{
	0: "Dubbo",
}
View Source
var DubboProxy_ProtocolType_value = map[string]int32{
	"Dubbo": 0,
}
View Source
var DubboProxy_SerializationType_name = map[int32]string{
	0: "Hessian2",
}
View Source
var DubboProxy_SerializationType_value = map[string]int32{
	"Hessian2": 0,
}

Functions

This section is empty.

Types

type DubboProxy

type DubboProxy struct {
	// The human readable prefix to use when emitting statistics.
	StatPrefix           string                       `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	ProtocolType         DubboProxy_ProtocolType      `` /* 181-byte string literal not displayed */
	SerializationType    DubboProxy_SerializationType `` /* 201-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

[#protodoc-title: Extensions Thrift Proxy] Thrift Proxy filter configuration.

func (*DubboProxy) Descriptor

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

func (*DubboProxy) GetProtocolType

func (m *DubboProxy) GetProtocolType() DubboProxy_ProtocolType

func (*DubboProxy) GetSerializationType

func (m *DubboProxy) GetSerializationType() DubboProxy_SerializationType

func (*DubboProxy) GetStatPrefix

func (m *DubboProxy) GetStatPrefix() string

func (*DubboProxy) Marshal

func (m *DubboProxy) Marshal() (dAtA []byte, err error)

func (*DubboProxy) MarshalTo

func (m *DubboProxy) MarshalTo(dAtA []byte) (int, error)

func (*DubboProxy) ProtoMessage

func (*DubboProxy) ProtoMessage()

func (*DubboProxy) Reset

func (m *DubboProxy) Reset()

func (*DubboProxy) Size

func (m *DubboProxy) Size() (n int)

func (*DubboProxy) String

func (m *DubboProxy) String() string

func (*DubboProxy) Unmarshal

func (m *DubboProxy) Unmarshal(dAtA []byte) error

func (*DubboProxy) Validate

func (m *DubboProxy) Validate() error

Validate checks the field values on DubboProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DubboProxy) XXX_DiscardUnknown

func (m *DubboProxy) XXX_DiscardUnknown()

func (*DubboProxy) XXX_Marshal

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

func (*DubboProxy) XXX_Merge

func (dst *DubboProxy) XXX_Merge(src proto.Message)

func (*DubboProxy) XXX_Size

func (m *DubboProxy) XXX_Size() int

func (*DubboProxy) XXX_Unmarshal

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

type DubboProxyValidationError

type DubboProxyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DubboProxyValidationError is the validation error returned by DubboProxy.Validate if the designated constraints aren't met.

func (DubboProxyValidationError) Error

Error satisfies the builtin error interface

type DubboProxy_ProtocolType

type DubboProxy_ProtocolType int32

Configure the protocol used.

const (
	DubboProxy_Dubbo DubboProxy_ProtocolType = 0
)

func (DubboProxy_ProtocolType) EnumDescriptor

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

func (DubboProxy_ProtocolType) String

func (x DubboProxy_ProtocolType) String() string

type DubboProxy_SerializationType

type DubboProxy_SerializationType int32

Configure the serialization protocol used.

const (
	DubboProxy_Hessian2 DubboProxy_SerializationType = 0
)

func (DubboProxy_SerializationType) EnumDescriptor

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

func (DubboProxy_SerializationType) String

Jump to

Keyboard shortcuts

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