Documentation ¶
Overview ¶
Package com_HailoOSS_api is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/api-proxy/proto/api/api.proto
It has these top-level messages:
Request Response
Index ¶
- type Request
- func (m *Request) GetBody() string
- func (m *Request) GetGet() []*Request_Pair
- func (m *Request) GetHeader() []string
- func (m *Request) GetPath() string
- func (m *Request) GetPost() []*Request_Pair
- func (m *Request) GetVerb() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- type Request_Pair
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` Verb *string `protobuf:"bytes,2,req,name=verb" json:"verb,omitempty"` Get []*Request_Pair `protobuf:"bytes,3,rep,name=get" json:"get,omitempty"` Post []*Request_Pair `protobuf:"bytes,4,rep,name=post" json:"post,omitempty"` Header []string `protobuf:"bytes,5,rep,name=header" json:"header,omitempty"` Body *string `protobuf:"bytes,6,opt,name=body" json:"body,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Request) GetGet ¶
func (m *Request) GetGet() []*Request_Pair
func (*Request) GetPost ¶
func (m *Request) GetPost() []*Request_Pair
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Request_Pair ¶
type Request_Pair struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Request_Pair) GetKey ¶
func (m *Request_Pair) GetKey() string
func (*Request_Pair) GetValue ¶
func (m *Request_Pair) GetValue() string
func (*Request_Pair) ProtoMessage ¶
func (*Request_Pair) ProtoMessage()
func (*Request_Pair) Reset ¶
func (m *Request_Pair) Reset()
func (*Request_Pair) String ¶
func (m *Request_Pair) String() string
type Response ¶
type Response struct { StatusCode *int32 `protobuf:"varint,1,req,name=statusCode" json:"statusCode,omitempty"` Header []string `protobuf:"bytes,2,rep,name=header" json:"header,omitempty"` Body *string `protobuf:"bytes,3,req,name=body" json:"body,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Response) GetStatusCode ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.