2015-01-14 10:50:54 +00:00
|
|
|
// Code generated by protoc-gen-go.
|
2015-01-13 23:31:27 +00:00
|
|
|
// source: asim/go-micro/template/proto/example/example.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
package go_micro_service_template_example
|
|
|
|
|
2015-01-14 10:50:54 +00:00
|
|
|
import proto "code.google.com/p/goprotobuf/proto"
|
|
|
|
import json "encoding/json"
|
2015-01-13 23:31:27 +00:00
|
|
|
import math "math"
|
|
|
|
|
2015-01-14 10:50:54 +00:00
|
|
|
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
|
2015-01-13 23:31:27 +00:00
|
|
|
var _ = proto.Marshal
|
2015-01-14 10:50:54 +00:00
|
|
|
var _ = &json.SyntaxError{}
|
2015-01-13 23:31:27 +00:00
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
type Request struct {
|
|
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *Request) GetName() string {
|
|
|
|
if m != nil && m.Name != nil {
|
|
|
|
return *m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
Msg *string `protobuf:"bytes,1,req,name=msg" json:"msg,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *Response) GetMsg() string {
|
|
|
|
if m != nil && m.Msg != nil {
|
|
|
|
return *m.Msg
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
}
|