Documentation ¶
Index ¶
- Variables
- type FileUpload
- func (*FileUpload) Descriptor() ([]byte, []int)deprecated
- func (x *FileUpload) GetError() int64
- func (x *FileUpload) GetHeader() *anypb.Any
- func (x *FileUpload) GetMime() string
- func (x *FileUpload) GetName() string
- func (x *FileUpload) GetSize() int64
- func (x *FileUpload) GetTempFilename() string
- func (*FileUpload) ProtoMessage()
- func (x *FileUpload) ProtoReflect() protoreflect.Message
- func (x *FileUpload) Reset()
- func (x *FileUpload) String() string
- type HeaderValue
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetAttributes() map[string]*HeaderValue
- func (x *Request) GetCookies() map[string]*HeaderValue
- func (x *Request) GetHeader() map[string]*HeaderValue
- func (x *Request) GetMethod() string
- func (x *Request) GetParsed() bool
- func (x *Request) GetProtocol() string
- func (x *Request) GetRawQuery() string
- func (x *Request) GetRemoteAddr() string
- func (x *Request) GetUploads() *Uploads
- func (x *Request) GetUri() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- type Uploads
Constants ¶
This section is empty.
Variables ¶
View Source
var File_http_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileUpload ¶
type FileUpload struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mime string `protobuf:"bytes,2,opt,name=mime,proto3" json:"mime,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Error int64 `protobuf:"varint,4,opt,name=error,proto3" json:"error,omitempty"` TempFilename string `protobuf:"bytes,5,opt,name=temp_filename,json=tempFilename,proto3" json:"temp_filename,omitempty"` Header *anypb.Any `protobuf:"bytes,9,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*FileUpload) Descriptor
deprecated
func (*FileUpload) Descriptor() ([]byte, []int)
Deprecated: Use FileUpload.ProtoReflect.Descriptor instead.
func (*FileUpload) GetError ¶
func (x *FileUpload) GetError() int64
func (*FileUpload) GetHeader ¶
func (x *FileUpload) GetHeader() *anypb.Any
func (*FileUpload) GetMime ¶
func (x *FileUpload) GetMime() string
func (*FileUpload) GetName ¶
func (x *FileUpload) GetName() string
func (*FileUpload) GetSize ¶
func (x *FileUpload) GetSize() int64
func (*FileUpload) GetTempFilename ¶
func (x *FileUpload) GetTempFilename() string
func (*FileUpload) ProtoMessage ¶
func (*FileUpload) ProtoMessage()
func (*FileUpload) ProtoReflect ¶
func (x *FileUpload) ProtoReflect() protoreflect.Message
func (*FileUpload) Reset ¶
func (x *FileUpload) Reset()
func (*FileUpload) String ¶
func (x *FileUpload) 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"` Attributes map[string]*HeaderValue `` /* 161-byte string literal not displayed */ Uploads *Uploads `protobuf:"bytes,10,opt,name=Uploads,proto3" json:"Uploads,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
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) GetProtocol ¶
func (*Request) GetRawQuery ¶
func (*Request) GetRemoteAddr ¶
func (*Request) GetUploads ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶ added in v2.9.0
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
added in
v2.9.0
func (*Response) GetHeaders ¶ added in v2.9.0
func (x *Response) GetHeaders() map[string]*HeaderValue
func (*Response) ProtoMessage ¶ added in v2.9.0
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v2.9.0
func (x *Response) ProtoReflect() protoreflect.Message
type Uploads ¶
type Uploads struct { List []*FileUpload `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*Uploads) Descriptor
deprecated
func (*Uploads) GetList ¶
func (x *Uploads) GetList() []*FileUpload
func (*Uploads) ProtoMessage ¶
func (*Uploads) ProtoMessage()
func (*Uploads) ProtoReflect ¶
func (x *Uploads) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.