Documentation ¶
Overview ¶
Package go_micro_api is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
Pair Request Response
Index ¶
- type Pair
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetBody() string
- func (m *Request) GetGet() map[string]*Pair
- func (m *Request) GetHeader() map[string]*Pair
- func (m *Request) GetMethod() string
- func (m *Request) GetPath() string
- func (m *Request) GetPost() map[string]*Pair
- func (m *Request) GetUrl() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"` }
func (*Pair) Descriptor ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
type Request ¶
type Request struct { Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"` Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` Header map[string]*Pair `` /* 132-byte string literal not displayed */ Get map[string]*Pair `` /* 126-byte string literal not displayed */ Post map[string]*Pair `` /* 128-byte string literal not displayed */ Body string `protobuf:"bytes,6,opt,name=body" json:"body,omitempty"` Url string `protobuf:"bytes,7,opt,name=url" json:"url,omitempty"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct { StatusCode int32 `protobuf:"varint,1,opt,name=statusCode" json:"statusCode,omitempty"` Header map[string]*Pair `` /* 132-byte string literal not displayed */ Body string `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` }
func (*Response) Descriptor ¶
func (*Response) GetStatusCode ¶ added in v0.11.0
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.