Documentation
¶
Overview ¶
Package transports is a generated protocol buffer package.
It is generated from these files:
httprequest.proto httpresponse.proto
It has these top-level messages:
HttpRequest HttpResponse
Index ¶
- type HttpRequest
- type HttpResponse
- func (*HttpResponse) Descriptor() ([]byte, []int)
- func (m *HttpResponse) GetBody() string
- func (m *HttpResponse) GetProto() string
- func (m *HttpResponse) GetStatus() string
- func (m *HttpResponse) GetStatuscode() int32
- func (*HttpResponse) ProtoMessage()
- func (m *HttpResponse) Reset()
- func (m *HttpResponse) String() string
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,req,name=method" json:"method,omitempty"` Url *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"` Proto *string `protobuf:"bytes,3,req,name=proto" json:"proto,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HttpRequest) Descriptor ¶
func (*HttpRequest) Descriptor() ([]byte, []int)
func (*HttpRequest) GetMethod ¶
func (m *HttpRequest) GetMethod() string
func (*HttpRequest) GetProto ¶
func (m *HttpRequest) GetProto() string
func (*HttpRequest) GetUrl ¶
func (m *HttpRequest) GetUrl() string
func (*HttpRequest) ProtoMessage ¶
func (*HttpRequest) ProtoMessage()
func (*HttpRequest) Reset ¶
func (m *HttpRequest) Reset()
func (*HttpRequest) String ¶
func (m *HttpRequest) String() string
type HttpResponse ¶
type HttpResponse struct { Status *string `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` Statuscode *int32 `protobuf:"varint,2,req,name=statuscode" json:"statuscode,omitempty"` Proto *string `protobuf:"bytes,3,req,name=proto" json:"proto,omitempty"` Body *string `protobuf:"bytes,4,req,name=body" json:"body,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HttpResponse) Descriptor ¶
func (*HttpResponse) Descriptor() ([]byte, []int)
func (*HttpResponse) GetBody ¶
func (m *HttpResponse) GetBody() string
func (*HttpResponse) GetProto ¶
func (m *HttpResponse) GetProto() string
func (*HttpResponse) GetStatus ¶
func (m *HttpResponse) GetStatus() string
func (*HttpResponse) GetStatuscode ¶
func (m *HttpResponse) GetStatuscode() int32
func (*HttpResponse) ProtoMessage ¶
func (*HttpResponse) ProtoMessage()
func (*HttpResponse) Reset ¶
func (m *HttpResponse) Reset()
func (*HttpResponse) String ¶
func (m *HttpResponse) String() string
Click to show internal directories.
Click to hide internal directories.