httpV1beta

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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) 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() *Uploads

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetHeaders added in v2.9.0

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

func (*Response) GetStatus added in v2.9.0

func (x *Response) GetStatus() int64

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

func (*Response) Reset added in v2.9.0

func (x *Response) Reset()

func (*Response) String added in v2.9.0

func (x *Response) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Uploads.ProtoReflect.Descriptor instead.

func (*Uploads) GetList

func (x *Uploads) GetList() []*FileUpload

func (*Uploads) ProtoMessage

func (*Uploads) ProtoMessage()

func (*Uploads) ProtoReflect

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

func (*Uploads) Reset

func (x *Uploads) Reset()

func (*Uploads) String

func (x *Uploads) String() string

Jump to

Keyboard shortcuts

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