pb

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNetrelay        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetrelay          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNetrelay = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type RelayHttpReq

type RelayHttpReq struct {
	Url     string `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
	Method  []byte `protobuf:"bytes,2,opt,name=Method,proto3" json:"Method,omitempty"`
	Header  []byte `protobuf:"bytes,3,opt,name=Header,proto3" json:"Header,omitempty"`
	Body    []byte `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"`
	Timeout int64  `protobuf:"varint,5,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
}

func (*RelayHttpReq) Descriptor

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

func (*RelayHttpReq) GetBody

func (m *RelayHttpReq) GetBody() []byte

func (*RelayHttpReq) GetHeader

func (m *RelayHttpReq) GetHeader() []byte

func (*RelayHttpReq) GetMethod

func (m *RelayHttpReq) GetMethod() []byte

func (*RelayHttpReq) GetTimeout

func (m *RelayHttpReq) GetTimeout() int64

func (*RelayHttpReq) GetUrl

func (m *RelayHttpReq) GetUrl() string

func (*RelayHttpReq) Marshal

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

func (*RelayHttpReq) MarshalTo

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

func (*RelayHttpReq) MarshalToSizedBuffer

func (m *RelayHttpReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelayHttpReq) ProtoMessage

func (*RelayHttpReq) ProtoMessage()

func (*RelayHttpReq) Reset

func (m *RelayHttpReq) Reset()

func (*RelayHttpReq) Size

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

func (*RelayHttpReq) String

func (m *RelayHttpReq) String() string

func (*RelayHttpReq) Unmarshal

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

func (*RelayHttpReq) XXX_DiscardUnknown

func (m *RelayHttpReq) XXX_DiscardUnknown()

func (*RelayHttpReq) XXX_Marshal

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

func (*RelayHttpReq) XXX_Merge

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

func (*RelayHttpReq) XXX_Size

func (m *RelayHttpReq) XXX_Size() int

func (*RelayHttpReq) XXX_Unmarshal

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

type RelayHttpResp

type RelayHttpResp struct {
	Status int32  `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	Header []byte `protobuf:"bytes,2,opt,name=Header,proto3" json:"Header,omitempty"`
	Body   []byte `protobuf:"bytes,3,opt,name=Body,proto3" json:"Body,omitempty"`
}

func (*RelayHttpResp) Descriptor

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

func (*RelayHttpResp) GetBody

func (m *RelayHttpResp) GetBody() []byte

func (*RelayHttpResp) GetHeader

func (m *RelayHttpResp) GetHeader() []byte

func (*RelayHttpResp) GetStatus

func (m *RelayHttpResp) GetStatus() int32

func (*RelayHttpResp) Marshal

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

func (*RelayHttpResp) MarshalTo

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

func (*RelayHttpResp) MarshalToSizedBuffer

func (m *RelayHttpResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelayHttpResp) ProtoMessage

func (*RelayHttpResp) ProtoMessage()

func (*RelayHttpResp) Reset

func (m *RelayHttpResp) Reset()

func (*RelayHttpResp) Size

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

func (*RelayHttpResp) String

func (m *RelayHttpResp) String() string

func (*RelayHttpResp) Unmarshal

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

func (*RelayHttpResp) XXX_DiscardUnknown

func (m *RelayHttpResp) XXX_DiscardUnknown()

func (*RelayHttpResp) XXX_Marshal

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

func (*RelayHttpResp) XXX_Merge

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

func (*RelayHttpResp) XXX_Size

func (m *RelayHttpResp) XXX_Size() int

func (*RelayHttpResp) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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