httpV1

package
v4.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_http_v1_http_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetHeader

func (x *Header) GetHeader() map[string]*HeaderValue

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type HeaderValue

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

func (*HeaderValue) Descriptor deprecated

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

Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.

func (*HeaderValue) GetValue

func (x *HeaderValue) GetValue() []string

func (*HeaderValue) ProtoMessage

func (*HeaderValue) ProtoMessage()

func (*HeaderValue) ProtoReflect

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

func (*HeaderValue) Reset

func (x *HeaderValue) Reset()

func (*HeaderValue) String

func (x *HeaderValue) String() string

type Request

type Request struct {
	RemoteAddr string                  `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	Protocol   string                  `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Method     string                  `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Uri        string                  `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Header     map[string]*HeaderValue `` /* 153-byte string literal not displayed */
	Cookies    map[string]*HeaderValue `` /* 155-byte string literal not displayed */
	RawQuery   string                  `protobuf:"bytes,7,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
	Parsed     bool                    `protobuf:"varint,8,opt,name=parsed,proto3" json:"parsed,omitempty"`
	Uploads    []byte                  `protobuf:"bytes,9,opt,name=uploads,proto3" json:"uploads,omitempty"`
	Attributes map[string]*HeaderValue `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

proto http request

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAttributes

func (x *Request) GetAttributes() map[string]*HeaderValue

func (*Request) GetCookies

func (x *Request) GetCookies() map[string]*HeaderValue

func (*Request) GetHeader

func (x *Request) GetHeader() map[string]*HeaderValue

func (*Request) GetMethod

func (x *Request) GetMethod() string

func (*Request) GetParsed

func (x *Request) GetParsed() bool

func (*Request) GetProtocol

func (x *Request) GetProtocol() string

func (*Request) GetRawQuery

func (x *Request) GetRawQuery() string

func (*Request) GetRemoteAddr

func (x *Request) GetRemoteAddr() string

func (*Request) GetUploads

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

func (*Request) GetUri

func (x *Request) GetUri() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	Status  int64                   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Headers map[string]*HeaderValue `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetHeaders

func (x *Response) GetHeaders() map[string]*HeaderValue

func (*Response) GetStatus

func (x *Response) GetStatus() int64

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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