Documentation
¶
Index ¶
- Variables
- type Body
- type FileHeader
- func (*FileHeader) Descriptor() ([]byte, []int)deprecated
- func (x *FileHeader) GetFilename() string
- func (x *FileHeader) GetHeader() map[string]*HeaderValue
- func (x *FileHeader) GetSize() int64
- func (*FileHeader) ProtoMessage()
- func (x *FileHeader) ProtoReflect() protoreflect.Message
- func (x *FileHeader) Reset()
- func (x *FileHeader) String() string
- type FileUpload
- func (*FileUpload) Descriptor() ([]byte, []int)deprecated
- func (x *FileUpload) GetError() int64
- func (x *FileUpload) GetHeader() *FileHeader
- 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_v1beta_http_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Body ¶ added in v4.11.1
type Body struct {
Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
backward compatibility
func (*Body) Descriptor
deprecated
added in
v4.11.1
func (*Body) ProtoMessage ¶ added in v4.11.1
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶ added in v4.11.1
func (x *Body) ProtoReflect() protoreflect.Message
type FileHeader ¶ added in v4.11.1
type FileHeader struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
Header map[string]*HeaderValue `` /* 153-byte string literal not displayed */
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*FileHeader) Descriptor
deprecated
added in
v4.11.1
func (*FileHeader) Descriptor() ([]byte, []int)
Deprecated: Use FileHeader.ProtoReflect.Descriptor instead.
func (*FileHeader) GetFilename ¶ added in v4.11.1
func (x *FileHeader) GetFilename() string
func (*FileHeader) GetHeader ¶ added in v4.11.1
func (x *FileHeader) GetHeader() map[string]*HeaderValue
func (*FileHeader) GetSize ¶ added in v4.11.1
func (x *FileHeader) GetSize() int64
func (*FileHeader) ProtoMessage ¶ added in v4.11.1
func (*FileHeader) ProtoMessage()
func (*FileHeader) ProtoReflect ¶ added in v4.11.1
func (x *FileHeader) ProtoReflect() protoreflect.Message
func (*FileHeader) Reset ¶ added in v4.11.1
func (x *FileHeader) Reset()
func (*FileHeader) String ¶ added in v4.11.1
func (x *FileHeader) String() string
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 *FileHeader `protobuf:"bytes,6,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() *FileHeader
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"`
Uploads *Uploads `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) 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 ¶
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) GetHeaders ¶
func (x *Response) GetHeaders() map[string]*HeaderValue
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
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.