Documentation ¶
Overview ¶
Package go_micro_api is a generated protocol buffer package.
It is generated from these files:
github.com/micro/micro/api/proto/api.proto
It has these top-level messages:
Pair Request Response
Index ¶
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"` }
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) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.