pb

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 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

type VpnRequest added in v1.4.1

type VpnRequest struct {
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Ip      string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
}

func (*VpnRequest) Descriptor added in v1.4.1

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

func (*VpnRequest) GetIp added in v1.4.1

func (m *VpnRequest) GetIp() string

func (*VpnRequest) GetPattern added in v1.4.1

func (m *VpnRequest) GetPattern() string

func (*VpnRequest) Marshal added in v1.4.1

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

func (*VpnRequest) MarshalTo added in v1.4.1

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

func (*VpnRequest) MarshalToSizedBuffer added in v1.4.1

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

func (*VpnRequest) ProtoMessage added in v1.4.1

func (*VpnRequest) ProtoMessage()

func (*VpnRequest) Reset added in v1.4.1

func (m *VpnRequest) Reset()

func (*VpnRequest) Size added in v1.4.1

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

func (*VpnRequest) String added in v1.4.1

func (m *VpnRequest) String() string

func (*VpnRequest) Unmarshal added in v1.4.1

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

func (*VpnRequest) XXX_DiscardUnknown added in v1.4.1

func (m *VpnRequest) XXX_DiscardUnknown()

func (*VpnRequest) XXX_Marshal added in v1.4.1

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

func (*VpnRequest) XXX_Merge added in v1.4.1

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

func (*VpnRequest) XXX_Size added in v1.4.1

func (m *VpnRequest) XXX_Size() int

func (*VpnRequest) XXX_Unmarshal added in v1.4.1

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

type VpnResponse added in v1.4.1

type VpnResponse struct {
	Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
}

func (*VpnResponse) Descriptor added in v1.4.1

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

func (*VpnResponse) GetBody added in v1.4.1

func (m *VpnResponse) GetBody() string

func (*VpnResponse) Marshal added in v1.4.1

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

func (*VpnResponse) MarshalTo added in v1.4.1

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

func (*VpnResponse) MarshalToSizedBuffer added in v1.4.1

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

func (*VpnResponse) ProtoMessage added in v1.4.1

func (*VpnResponse) ProtoMessage()

func (*VpnResponse) Reset added in v1.4.1

func (m *VpnResponse) Reset()

func (*VpnResponse) Size added in v1.4.1

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

func (*VpnResponse) String added in v1.4.1

func (m *VpnResponse) String() string

func (*VpnResponse) Unmarshal added in v1.4.1

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

func (*VpnResponse) XXX_DiscardUnknown added in v1.4.1

func (m *VpnResponse) XXX_DiscardUnknown()

func (*VpnResponse) XXX_Marshal added in v1.4.1

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

func (*VpnResponse) XXX_Merge added in v1.4.1

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

func (*VpnResponse) XXX_Size added in v1.4.1

func (m *VpnResponse) XXX_Size() int

func (*VpnResponse) XXX_Unmarshal added in v1.4.1

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

Jump to

Keyboard shortcuts

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