httpV2

package
v6.0.0-beta.13 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_http_v2_http_proto protoreflect.FileDescriptor
View Source
var File_http_v2_request_proto protoreflect.FileDescriptor
View Source
var File_http_v2_response_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HttpHandlerFetchRequest

type HttpHandlerFetchRequest struct {
	BatchSize int64 `protobuf:"varint,1,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHandlerFetchRequest) Descriptor deprecated

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

Deprecated: Use HttpHandlerFetchRequest.ProtoReflect.Descriptor instead.

func (*HttpHandlerFetchRequest) GetBatchSize

func (x *HttpHandlerFetchRequest) GetBatchSize() int64

func (*HttpHandlerFetchRequest) ProtoMessage

func (*HttpHandlerFetchRequest) ProtoMessage()

func (*HttpHandlerFetchRequest) ProtoReflect

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

func (*HttpHandlerFetchRequest) Reset

func (x *HttpHandlerFetchRequest) Reset()

func (*HttpHandlerFetchRequest) String

func (x *HttpHandlerFetchRequest) String() string

type HttpHandlerRequest

type HttpHandlerRequest struct {
	Id         string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RemoteAddr string                      `protobuf:"bytes,2,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	Protocol   string                      `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Method     string                      `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	Uri        string                      `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	Header     map[string]*HttpHeaderValue `` /* 139-byte string literal not displayed */
	Cookies    map[string]*HttpHeaderValue `` /* 141-byte string literal not displayed */
	RawQuery   string                      `protobuf:"bytes,8,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
	Parsed     bool                        `protobuf:"varint,9,opt,name=parsed,proto3" json:"parsed,omitempty"`
	Uploads    []byte                      `protobuf:"bytes,10,opt,name=uploads,proto3" json:"uploads,omitempty"`
	Attributes map[string]*HttpHeaderValue `` /* 148-byte string literal not displayed */
	Body       []byte                      `protobuf:"bytes,12,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHandlerRequest) Descriptor deprecated

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

Deprecated: Use HttpHandlerRequest.ProtoReflect.Descriptor instead.

func (*HttpHandlerRequest) GetAttributes

func (x *HttpHandlerRequest) GetAttributes() map[string]*HttpHeaderValue

func (*HttpHandlerRequest) GetBody

func (x *HttpHandlerRequest) GetBody() []byte

func (*HttpHandlerRequest) GetCookies

func (x *HttpHandlerRequest) GetCookies() map[string]*HttpHeaderValue

func (*HttpHandlerRequest) GetHeader

func (x *HttpHandlerRequest) GetHeader() map[string]*HttpHeaderValue

func (*HttpHandlerRequest) GetId

func (x *HttpHandlerRequest) GetId() string

func (*HttpHandlerRequest) GetMethod

func (x *HttpHandlerRequest) GetMethod() string

func (*HttpHandlerRequest) GetParsed

func (x *HttpHandlerRequest) GetParsed() bool

func (*HttpHandlerRequest) GetProtocol

func (x *HttpHandlerRequest) GetProtocol() string

func (*HttpHandlerRequest) GetRawQuery

func (x *HttpHandlerRequest) GetRawQuery() string

func (*HttpHandlerRequest) GetRemoteAddr

func (x *HttpHandlerRequest) GetRemoteAddr() string

func (*HttpHandlerRequest) GetUploads

func (x *HttpHandlerRequest) GetUploads() []byte

func (*HttpHandlerRequest) GetUri

func (x *HttpHandlerRequest) GetUri() string

func (*HttpHandlerRequest) ProtoMessage

func (*HttpHandlerRequest) ProtoMessage()

func (*HttpHandlerRequest) ProtoReflect

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

func (*HttpHandlerRequest) Reset

func (x *HttpHandlerRequest) Reset()

func (*HttpHandlerRequest) String

func (x *HttpHandlerRequest) String() string

type HttpHandlerRequests

type HttpHandlerRequests struct {
	Requests []*HttpHandlerRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHandlerRequests) Descriptor deprecated

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

Deprecated: Use HttpHandlerRequests.ProtoReflect.Descriptor instead.

func (*HttpHandlerRequests) GetRequests

func (x *HttpHandlerRequests) GetRequests() []*HttpHandlerRequest

func (*HttpHandlerRequests) ProtoMessage

func (*HttpHandlerRequests) ProtoMessage()

func (*HttpHandlerRequests) ProtoReflect

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

func (*HttpHandlerRequests) Reset

func (x *HttpHandlerRequests) Reset()

func (*HttpHandlerRequests) String

func (x *HttpHandlerRequests) String() string

type HttpHandlerResponse

type HttpHandlerResponse struct {
	Id      string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status  int64                       `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Body    []byte                      `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	Headers map[string]*HttpHeaderValue `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpHandlerResponse) Descriptor deprecated

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

Deprecated: Use HttpHandlerResponse.ProtoReflect.Descriptor instead.

func (*HttpHandlerResponse) GetBody

func (x *HttpHandlerResponse) GetBody() []byte

func (*HttpHandlerResponse) GetHeaders

func (x *HttpHandlerResponse) GetHeaders() map[string]*HttpHeaderValue

func (*HttpHandlerResponse) GetId

func (x *HttpHandlerResponse) GetId() string

func (*HttpHandlerResponse) GetStatus

func (x *HttpHandlerResponse) GetStatus() int64

func (*HttpHandlerResponse) ProtoMessage

func (*HttpHandlerResponse) ProtoMessage()

func (*HttpHandlerResponse) ProtoReflect

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

func (*HttpHandlerResponse) Reset

func (x *HttpHandlerResponse) Reset()

func (*HttpHandlerResponse) String

func (x *HttpHandlerResponse) String() string

type HttpHeader

type HttpHeader struct {
	Header map[string]*HttpHeaderValue `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpHeader) Descriptor deprecated

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

Deprecated: Use HttpHeader.ProtoReflect.Descriptor instead.

func (*HttpHeader) GetHeader

func (x *HttpHeader) GetHeader() map[string]*HttpHeaderValue

func (*HttpHeader) ProtoMessage

func (*HttpHeader) ProtoMessage()

func (*HttpHeader) ProtoReflect

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

func (*HttpHeader) Reset

func (x *HttpHeader) Reset()

func (*HttpHeader) String

func (x *HttpHeader) String() string

type HttpHeaderValue

type HttpHeaderValue struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHeaderValue) Descriptor deprecated

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

Deprecated: Use HttpHeaderValue.ProtoReflect.Descriptor instead.

func (*HttpHeaderValue) GetValues

func (x *HttpHeaderValue) GetValues() []string

func (*HttpHeaderValue) ProtoMessage

func (*HttpHeaderValue) ProtoMessage()

func (*HttpHeaderValue) ProtoReflect

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

func (*HttpHeaderValue) Reset

func (x *HttpHeaderValue) Reset()

func (*HttpHeaderValue) String

func (x *HttpHeaderValue) String() string

Jump to

Keyboard shortcuts

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