viewproto

package
v0.0.0-...-4c29529 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRequest

type HttpRequest struct {
	Method               string            `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Query                string            `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Headers              map[string]string `` /* 155-byte string literal not displayed */
	Body                 []byte            `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HttpRequest) Descriptor

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

func (*HttpRequest) GetBody

func (m *HttpRequest) GetBody() []byte

func (*HttpRequest) GetHeaders

func (m *HttpRequest) GetHeaders() map[string]string

func (*HttpRequest) GetMethod

func (m *HttpRequest) GetMethod() string

func (*HttpRequest) GetQuery

func (m *HttpRequest) GetQuery() string

func (*HttpRequest) ProtoMessage

func (*HttpRequest) ProtoMessage()

func (*HttpRequest) Reset

func (m *HttpRequest) Reset()

func (*HttpRequest) String

func (m *HttpRequest) String() string

func (*HttpRequest) XXX_DiscardUnknown

func (m *HttpRequest) XXX_DiscardUnknown()

func (*HttpRequest) XXX_Marshal

func (m *HttpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpRequest) XXX_Merge

func (m *HttpRequest) XXX_Merge(src proto.Message)

func (*HttpRequest) XXX_Size

func (m *HttpRequest) XXX_Size() int

func (*HttpRequest) XXX_Unmarshal

func (m *HttpRequest) XXX_Unmarshal(b []byte) error

type HttpResponse

type HttpResponse struct {
	Status               int32             `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Headers              map[string]string `` /* 155-byte string literal not displayed */
	Body                 []byte            `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HttpResponse) Descriptor

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

func (*HttpResponse) GetBody

func (m *HttpResponse) GetBody() []byte

func (*HttpResponse) GetHeaders

func (m *HttpResponse) GetHeaders() map[string]string

func (*HttpResponse) GetStatus

func (m *HttpResponse) GetStatus() int32

func (*HttpResponse) ProtoMessage

func (*HttpResponse) ProtoMessage()

func (*HttpResponse) Reset

func (m *HttpResponse) Reset()

func (*HttpResponse) String

func (m *HttpResponse) String() string

func (*HttpResponse) XXX_DiscardUnknown

func (m *HttpResponse) XXX_DiscardUnknown()

func (*HttpResponse) XXX_Marshal

func (m *HttpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpResponse) XXX_Merge

func (m *HttpResponse) XXX_Merge(src proto.Message)

func (*HttpResponse) XXX_Size

func (m *HttpResponse) XXX_Size() int

func (*HttpResponse) XXX_Unmarshal

func (m *HttpResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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