Migrate all templates to svcdef

This commit is contained in:
Leland Batey 2016-10-31 15:10:47 -07:00
Родитель c57b063590
Коммит 6f8479741e
15 изменённых файлов: 129 добавлений и 125 удалений

Просмотреть файл

@ -43,7 +43,8 @@ type templateExecutor struct {
// PackageName is the name of the package containing the service definition
PackageName string
// GRPC/Protobuff service, with all parameters and return values accessible
Service *deftree.ProtoService
//Service *deftree.ProtoService
Service *svcdef.Service
ClientArgs *clientarggen.ClientServiceArgs
// A helper struct for generating http transport functionality.
HTTPHelper *httptransport.Helper
@ -51,10 +52,10 @@ type templateExecutor struct {
}
func newTemplateExecutor(dt deftree.Deftree, sd *svcdef.Svcdef, conf config.Config) (*templateExecutor, error) {
service, err := getProtoService(dt)
if err != nil {
return nil, errors.Wrap(err, "no service found; aborting generating gokit service")
}
//service, err := getProtoService(dt)
//if err != nil {
//return nil, errors.Wrap(err, "no service found; aborting generating gokit service")
//}
funcMap := template.FuncMap{
"ToLower": strings.ToLower,
@ -66,7 +67,7 @@ func newTemplateExecutor(dt deftree.Deftree, sd *svcdef.Svcdef, conf config.Conf
ImportPath: conf.GoPackage,
PBImportPath: conf.PBPackage,
PackageName: sd.PkgName,
Service: service,
Service: sd.Service,
ClientArgs: clientarggen.New(sd.Service),
HTTPHelper: httptransport.NewHelper(sd.Service),
funcMap: funcMap,
@ -76,7 +77,6 @@ func newTemplateExecutor(dt deftree.Deftree, sd *svcdef.Svcdef, conf config.Conf
// GenerateGokit returns a gokit service generated from a service definition (deftree),
// the package to the root of the generated service goPackage, the package
// to the .pb.go service struct files (goPBPackage) and any prevously generated files.
//func GenerateGokit(dt deftree.Deftree, goPackage, goPBPackage string, previousFiles []truss.NamedReadWriter) ([]truss.NamedReadWriter, error) {
func GenerateGokit(dt deftree.Deftree, sd *svcdef.Svcdef, conf config.Config) ([]truss.NamedReadWriter, error) {
//te, err := newTemplateExecutor(dt, goPackage, goPBPackage)
te, err := newTemplateExecutor(dt, sd, conf)
@ -278,10 +278,11 @@ func updateClientMethods(clientHandler io.Reader, te *templateExecutor) (outCode
// serviceFunctionNames returns a slice of function names which are in the
// definition files plus the function "NewService". Used for inserting and
// removing functions from previously generated handler files
func serviceFunctionsNames(methods []*deftree.ServiceMethod) []string {
//func serviceFunctionsNames(methods []*deftree.ServiceMethod) []string {
func serviceFunctionsNames(methods []*svcdef.ServiceMethod) []string {
var svcFuncs []string
for _, m := range methods {
svcFuncs = append(svcFuncs, m.GetName())
svcFuncs = append(svcFuncs, m.Name)
}
svcFuncs = append(svcFuncs, "NewService")
@ -291,10 +292,11 @@ func serviceFunctionsNames(methods []*deftree.ServiceMethod) []string {
// trimServiceFuncs removes functions in funcsInFile from the
// templateExecutor and returns a pointer to a new templateExecutor
func (te templateExecutor) trimServiceFuncs(funcsInFile map[string]bool) *templateExecutor {
var methodsToTemplate []*deftree.ServiceMethod
//var methodsToTemplate []*deftree.ServiceMethod
var methodsToTemplate []*svcdef.ServiceMethod
for _, m := range te.Service.Methods {
mName := m.GetName()
mName := m.Name
if funcsInFile[mName] {
log.WithField("Method", mName).Info("Handler method already exists")

Просмотреть файл

@ -130,11 +130,11 @@ func TestGetProtoService(t *testing.T) {
t.Fatal(err)
}
if got, want := svc.GetName(), "ProtoService"; got != want {
if got, want := svc.Name, "ProtoService"; got != want {
t.Fatalf("\n`%v` was service name\n`%v` was wanted", got, want)
}
if got, want := svc.Methods[0].GetName(), "ProtoMethod"; got != want {
if got, want := svc.Methods[0].Name, "ProtoMethod"; got != want {
t.Fatalf("\n`%v` was rpc in service\n`%v` was wanted", got, want)
}
}
@ -293,10 +293,10 @@ func TestTrimTemplateExecutorServiceFuncs(t *testing.T) {
}
func svcMethodsNames(methods []*deftree.ServiceMethod) []string {
func svcMethodsNames(methods []*svcdef.ServiceMethod) []string {
var mNames []string
for _, m := range methods {
mNames = append(mNames, m.GetName())
mNames = append(mNames, m.Name)
}
return mNames

Просмотреть файл

@ -221,7 +221,7 @@ var (
_ = strconv.Atoi
_ = httptransport.NewServer
_ = ioutil.NopCloser
_ = pb.Register{{.Service.GetName}}Server
_ = pb.Register{{.Service.Name}}Server
_ = io.Copy
)
@ -334,7 +334,7 @@ func headersToContext(ctx context.Context, r *http.Request) context.Context {
`
var clientTemplate = `
// Package http provides an HTTP client for the {{.Service.GetName}} service.
// Package http provides an HTTP client for the {{.Service.Name}} service.
package http
import (

Просмотреть файл

@ -27,7 +27,7 @@ var (
_ = strings.Split
_ = json.Compact
_ = errors.Wrapf
_ = pb.Register{{.Service.GetName}}Server
_ = pb.Register{{.Service.Name}}Server
)
@ -40,7 +40,7 @@ func main() {
var (
httpAddr = flag.String("http.addr", "", "HTTP address of addsvc")
grpcAddr = flag.String("grpc.addr", ":5040", "gRPC (HTTP) address of addsvc")
method = flag.String("method", "{{range $index, $i := .Service.Methods}}{{if $index}}{{else}}{{ToLower $i.GetName}}{{end}}{{end}}", "{{range $index, $i := .Service.Methods}}{{if $index}},{{end}}{{ToLower $i.GetName}}{{end}}")
method = flag.String("method", "{{range $index, $i := .Service.Methods}}{{if $index}}{{else}}{{ToLower $i.Name}}{{end}}{{end}}", "{{range $index, $i := .Service.Methods}}{{if $index}},{{end}}{{ToLower $i.Name}}{{end}}")
)
var (
@ -75,24 +75,24 @@ func main() {
switch *method {
{{ with $tE := .}}
{{range $i := $tE.Service.Methods}}
case "{{ToLower $i.GetName}}":
{{- with index $tE.ClientArgs.MethArgs $i.GetName -}}
case "{{ToLower $i.Name}}":
{{- with index $tE.ClientArgs.MethArgs $i.Name -}}
var err error
{{.MarshalFlags}}
{{- end}}
request, err := clientHandler.{{$i.GetName}}({{with index $tE.ClientArgs.MethArgs $i.GetName}}{{.CallArgs}}{{end}})
request, err := clientHandler.{{$i.Name}}({{with index $tE.ClientArgs.MethArgs $i.Name}}{{.CallArgs}}{{end}})
if err != nil {
fmt.Fprintf(os.Stderr, "Error calling clientHandler.{{$i.GetName}}: %v\n", err)
fmt.Fprintf(os.Stderr, "Error calling clientHandler.{{$i.Name}}: %v\n", err)
os.Exit(1)
}
v, err := service.{{$i.GetName}}(context.Background(), request)
v, err := service.{{$i.Name}}(context.Background(), request)
if err != nil {
fmt.Fprintf(os.Stderr, "Error calling service.{{$i.GetName}}: %v\n", err)
fmt.Fprintf(os.Stderr, "Error calling service.{{$i.Name}}: %v\n", err)
os.Exit(1)
}
fmt.Println("Client Requested with:")
fmt.Println({{with index $tE.ClientArgs.MethArgs $i.GetName}}{{.CallArgs}}{{end}})
fmt.Println({{with index $tE.ClientArgs.MethArgs $i.Name}}{{.CallArgs}}{{end}})
fmt.Println("Server Responded with:")
fmt.Println(v)
{{- end}}

Просмотреть файл

@ -52,15 +52,15 @@ func main() {
// Endpoint domain.
{{range $i := .Service.Methods}}
var {{ToLower $i.GetName}}Endpoint endpoint.Endpoint
var {{ToLower $i.Name}}Endpoint endpoint.Endpoint
{
{{ToLower $i.GetName}}Endpoint = svc.Make{{$i.GetName}}Endpoint(service)
{{ToLower $i.Name}}Endpoint = svc.Make{{$i.Name}}Endpoint(service)
// Add endpoint tracing, instrumentation and logging here
}
{{end}}
endpoints := svc.Endpoints{
{{range $i := .Service.Methods -}}
{{$i.GetName}}Endpoint: {{ToLower $i.GetName}}Endpoint,
{{$i.Name}}Endpoint: {{ToLower $i.Name}}Endpoint,
{{end}}
}
@ -110,7 +110,7 @@ func main() {
srv := svc.MakeGRPCServer(ctx, endpoints)
s := grpc.NewServer()
pb.Register{{.Service.GetName}}Server(s, srv)
pb.Register{{.Service.Name}}Server(s, srv)
logger.Log("addr", *grpcAddr)
errc <- s.Serve(ln)

Просмотреть файл

@ -1,4 +1,4 @@
// Package grpc provides a gRPC client for the {{.Service.GetName}} service.
// Package grpc provides a gRPC client for the {{.Service.Name}} service.
package grpc
import (
@ -17,7 +17,7 @@ import (
)
// New returns an service backed by a gRPC client connection. It is the
// responsibility of the caller to dial, and later close, the connection.
// responsibility of the caller to dial, and later close, the connection.
func New(conn *grpc.ClientConn, options ...ClientOption) (handler.Service, error) {
var cc clientConfig
@ -34,25 +34,27 @@ func New(conn *grpc.ClientConn, options ...ClientOption) (handler.Service, error
}
{{- with $tE := .}}
{{- range $i := $tE.Service.Methods}}
var {{ToLower $i.GetName}}Endpoint endpoint.Endpoint
{
{{ToLower $i.GetName}}Endpoint = grpctransport.NewClient(
conn,
"{{TrimPrefix $tE.Service.FullyQualifiedName "."}}",
"{{$i.GetName}}",
svc.EncodeGRPC{{$i.GetName}}Request,
svc.DecodeGRPC{{$i.GetName}}Response,
pb.{{GoName $i.ResponseType.GetName}}{},
clientOptions...,
).Endpoint()
}
{{- with $pkgName := $tE.PackageName}}
{{- range $i := $tE.Service.Methods}}
var {{ToLower $i.Name}}Endpoint endpoint.Endpoint
{
{{ToLower $i.Name}}Endpoint = grpctransport.NewClient(
conn,
"{{$pkgName}}.{{$tE.Service.Name}}",
"{{$i.Name}}",
svc.EncodeGRPC{{$i.Name}}Request,
svc.DecodeGRPC{{$i.Name}}Response,
pb.{{GoName $i.ResponseType.Name}}{},
clientOptions...,
).Endpoint()
}
{{end}}
{{end}}
{{end}}
return svc.Endpoints{
{{range $i := .Service.Methods -}}
{{$i.GetName}}Endpoint: {{ToLower $i.GetName}}Endpoint,
{{$i.Name}}Endpoint: {{ToLower $i.Name}}Endpoint,
{{end}}
}, nil
}

Просмотреть файл

@ -30,27 +30,27 @@ import (
// into an Endpoints, and return it to the caller as a Service.
type Endpoints struct {
{{range $i := .Service.Methods}}
{{$i.GetName}}Endpoint endpoint.Endpoint
{{$i.Name}}Endpoint endpoint.Endpoint
{{- end}}
}
// Endpoints
{{range $i := .Service.Methods}}
func (e Endpoints) {{$i.GetName}}(ctx context.Context, in *pb.{{GoName $i.RequestType.GetName}}) (*pb.{{GoName $i.ResponseType.GetName}}, error) {
response, err := e.{{$i.GetName}}Endpoint(ctx, in)
func (e Endpoints) {{$i.Name}}(ctx context.Context, in *pb.{{GoName $i.RequestType.Name}}) (*pb.{{GoName $i.ResponseType.Name}}, error) {
response, err := e.{{$i.Name}}Endpoint(ctx, in)
if err != nil {
return nil, err
}
return response.(*pb.{{GoName $i.ResponseType.GetName}}), nil
return response.(*pb.{{GoName $i.ResponseType.Name}}), nil
}
{{end}}
// Make Endpoints
{{range $i := .Service.Methods}}
func Make{{$i.GetName}}Endpoint(s handler.Service) endpoint.Endpoint {
func Make{{$i.Name}}Endpoint(s handler.Service) endpoint.Endpoint {
return func(ctx context.Context, request interface{}) (response interface{}, err error) {
req := request.(*pb.{{GoName $i.RequestType.GetName}})
v, err := s.{{$i.GetName}}(ctx, req)
req := request.(*pb.{{GoName $i.RequestType.Name}})
v, err := s.{{$i.Name}}(ctx, req)
if err != nil {
return nil, err
}

Просмотреть файл

@ -16,49 +16,49 @@ import (
)
// MakeGRPCServer makes a set of endpoints available as a gRPC {{GoName .Service.GetName}}Server.
func MakeGRPCServer(ctx context.Context, endpoints Endpoints) pb.{{GoName .Service.GetName}}Server {
// MakeGRPCServer makes a set of endpoints available as a gRPC {{GoName .Service.Name}}Server.
func MakeGRPCServer(ctx context.Context, endpoints Endpoints) pb.{{GoName .Service.Name}}Server {
serverOptions := []grpctransport.ServerOption{
grpctransport.ServerBefore(metadataToContext),
}
return &grpcServer{
// {{ ToLower .Service.GetName }}
// {{ ToLower .Service.Name }}
{{range $i := .Service.Methods}}
{{ToLower $i.GetName}}: grpctransport.NewServer(
{{ToLower $i.Name}}: grpctransport.NewServer(
ctx,
endpoints.{{$i.GetName}}Endpoint,
DecodeGRPC{{$i.GetName}}Request,
EncodeGRPC{{$i.GetName}}Response,
endpoints.{{$i.Name}}Endpoint,
DecodeGRPC{{$i.Name}}Request,
EncodeGRPC{{$i.Name}}Response,
serverOptions...,
),
{{- end}}
}
}
// grpcServer implements the {{GoName .Service.GetName}}Server interface
// grpcServer implements the {{GoName .Service.Name}}Server interface
type grpcServer struct {
{{range $i := .Service.Methods}}
{{ToLower $i.GetName}} grpctransport.Handler
{{ToLower $i.Name}} grpctransport.Handler
{{- end}}
}
// Methods for grpcServer to implement {{GoName .Service.GetName}}Server interface
// Methods for grpcServer to implement {{GoName .Service.Name}}Server interface
{{range $i := .Service.Methods}}
func (s *grpcServer) {{GoName $i.GetName}}(ctx context.Context, req *pb.{{GoName $i.RequestType.GetName}}) (*pb.{{GoName $i.ResponseType.GetName}}, error) {
_, rep, err := s.{{ToLower $i.GetName}}.ServeGRPC(ctx, req)
func (s *grpcServer) {{GoName $i.Name}}(ctx context.Context, req *pb.{{GoName $i.RequestType.Name}}) (*pb.{{GoName $i.ResponseType.Name}}, error) {
_, rep, err := s.{{ToLower $i.Name}}.ServeGRPC(ctx, req)
if err != nil {
return nil, err
}
return rep.(*pb.{{GoName $i.ResponseType.GetName}}), nil
return rep.(*pb.{{GoName $i.ResponseType.Name}}), nil
}
{{end}}
// Server Decode
{{range $i := .Service.Methods}}
// DecodeGRPC{{$i.GetName}}Request is a transport/grpc.DecodeRequestFunc that converts a
// gRPC {{ToLower $i.GetName}} request to a user-domain {{ToLower $i.GetName}} request. Primarily useful in a server.
func DecodeGRPC{{$i.GetName}}Request(_ context.Context, grpcReq interface{}) (interface{}, error) {
req := grpcReq.(*pb.{{GoName $i.RequestType.GetName}})
// DecodeGRPC{{$i.Name}}Request is a transport/grpc.DecodeRequestFunc that converts a
// gRPC {{ToLower $i.Name}} request to a user-domain {{ToLower $i.Name}} request. Primarily useful in a server.
func DecodeGRPC{{$i.Name}}Request(_ context.Context, grpcReq interface{}) (interface{}, error) {
req := grpcReq.(*pb.{{GoName $i.RequestType.Name}})
return req, nil
}
{{end}}
@ -66,20 +66,20 @@ func DecodeGRPC{{$i.GetName}}Request(_ context.Context, grpcReq interface{}) (in
// Client Decode
{{range $i := .Service.Methods}}
// DecodeGRPC{{$i.GetName}}Response is a transport/grpc.DecodeResponseFunc that converts a
// gRPC {{ToLower $i.GetName}} reply to a user-domain {{ToLower $i.GetName}} response. Primarily useful in a client.
func DecodeGRPC{{$i.GetName}}Response(_ context.Context, grpcReply interface{}) (interface{}, error) {
reply := grpcReply.(*pb.{{GoName $i.ResponseType.GetName}})
// DecodeGRPC{{$i.Name}}Response is a transport/grpc.DecodeResponseFunc that converts a
// gRPC {{ToLower $i.Name}} reply to a user-domain {{ToLower $i.Name}} response. Primarily useful in a client.
func DecodeGRPC{{$i.Name}}Response(_ context.Context, grpcReply interface{}) (interface{}, error) {
reply := grpcReply.(*pb.{{GoName $i.ResponseType.Name}})
return reply, nil
}
{{end}}
// Server Encode
{{range $i := .Service.Methods}}
// EncodeGRPC{{$i.GetName}}Response is a transport/grpc.EncodeResponseFunc that converts a
// user-domain {{ToLower $i.GetName}} response to a gRPC {{ToLower $i.GetName}} reply. Primarily useful in a server.
func EncodeGRPC{{$i.GetName}}Response(_ context.Context, response interface{}) (interface{}, error) {
resp := response.(*pb.{{GoName $i.ResponseType.GetName}})
// EncodeGRPC{{$i.Name}}Response is a transport/grpc.EncodeResponseFunc that converts a
// user-domain {{ToLower $i.Name}} response to a gRPC {{ToLower $i.Name}} reply. Primarily useful in a server.
func EncodeGRPC{{$i.Name}}Response(_ context.Context, response interface{}) (interface{}, error) {
resp := response.(*pb.{{GoName $i.ResponseType.Name}})
return resp, nil
}
{{end}}
@ -87,10 +87,10 @@ func EncodeGRPC{{$i.GetName}}Response(_ context.Context, response interface{}) (
// Client Encode
{{range $i := .Service.Methods}}
// EncodeGRPC{{$i.GetName}}Request is a transport/grpc.EncodeRequestFunc that converts a
// user-domain {{ToLower $i.GetName}} request to a gRPC {{ToLower $i.GetName}} request. Primarily useful in a client.
func EncodeGRPC{{$i.GetName}}Request(_ context.Context, request interface{}) (interface{}, error) {
req := request.(*pb.{{GoName $i.RequestType.GetName}})
// EncodeGRPC{{$i.Name}}Request is a transport/grpc.EncodeRequestFunc that converts a
// user-domain {{ToLower $i.Name}} request to a gRPC {{ToLower $i.Name}} request. Primarily useful in a client.
func EncodeGRPC{{$i.Name}}Request(_ context.Context, request interface{}) (interface{}, error) {
req := request.(*pb.{{GoName $i.RequestType.Name}})
return req, nil
}
{{end}}

Просмотреть файл

@ -7,10 +7,10 @@ import (
{{range $i := $templateExecutor.Service.Methods}}
// {{$i.GetName}} implements Service.
func {{$i.GetName}}({{with index $templateExecutor.ClientArgs.MethArgs $i.GetName}}{{GoName .FunctionArgs}}{{end}}) (*pb.{{GoName $i.RequestType.GetName}}, error){
// {{$i.Name}} implements Service.
func {{$i.Name}}({{with index $templateExecutor.ClientArgs.MethArgs $i.Name}}{{GoName .FunctionArgs}}{{end}}) (*pb.{{GoName $i.RequestType.Name}}, error){
{{/*
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.GetName -}}
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.Name -}}
{{- range $param := $meth.Args -}}
{{- if not $param.IsBaseType -}}
// Add custom business logic for interpreting {{$param.FlagArg}},
@ -18,8 +18,8 @@ func {{$i.GetName}}({{with index $templateExecutor.ClientArgs.MethArgs $i.GetNam
{{- end -}}
{{- end}}
*/}}
request := pb.{{GoName $i.RequestType.GetName}}{
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.GetName -}}
request := pb.{{GoName $i.RequestType.Name}}{
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.Name -}}
{{range $param := $meth.Args -}}
{{- if and (and (not $param.IsBaseType) (not $param.Repeated)) (not $param.Enum)}}
{{GoName $param.Name}} : &{{GoName $param.GoArg}},

Просмотреть файл

@ -28,13 +28,13 @@ type {{.PackageName}}Service struct{}
{{with $PackageName := $Executor.PackageName}}
{{range $i := $Executor.Service.Methods}}
// {{$i.GetName}} implements Service.
func (s {{$PackageName}}Service) {{$i.GetName}}(ctx context.Context, in *pb.{{GoName $i.RequestType.GetName}}) (*pb.{{GoName $i.ResponseType.GetName}}, error){
// {{$i.Name}} implements Service.
func (s {{$PackageName}}Service) {{$i.Name}}(ctx context.Context, in *pb.{{GoName $i.RequestType.Name}}) (*pb.{{GoName $i.ResponseType.Name}}, error){
_ = ctx
_ = in
response := pb.{{GoName $i.ResponseType.GetName}}{
{{range $j := $i.ResponseType.Fields -}}
// {{GoName $j.GetName }}:
response := pb.{{GoName $i.ResponseType.Name}}{
{{range $j := $i.ResponseType.Message.Fields -}}
// {{GoName $j.Name }}:
{{end -}}
}
return &response, nil
@ -45,6 +45,6 @@ func (s {{$PackageName}}Service) {{$i.GetName}}(ctx context.Context, in *pb.{{Go
type Service interface {
{{range $i := .Service.Methods}}
{{$i.GetName}}(ctx context.Context, in *pb.{{GoName $i.RequestType.GetName}}) (*pb.{{GoName $i.ResponseType.GetName}}, error)
{{$i.Name}}(ctx context.Context, in *pb.{{GoName $i.RequestType.Name}}) (*pb.{{GoName $i.ResponseType.Name}}, error)
{{- end}}
}

Просмотреть файл

@ -1,17 +1,17 @@
{{ with $templateExecutor := .}}
{{range $i := $templateExecutor.Service.Methods}}
// {{$i.GetName}} implements Service.
func {{$i.GetName}}({{with index $templateExecutor.ClientArgs.MethArgs $i.GetName}}{{GoName .FunctionArgs}}{{end}}) (*pb.{{GoName $i.RequestType.GetName}}, error){
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.GetName -}}
// {{$i.Name}} implements Service.
func {{$i.Name}}({{with index $templateExecutor.ClientArgs.MethArgs $i.Name}}{{GoName .FunctionArgs}}{{end}}) (*pb.{{GoName $i.RequestType.Name}}, error){
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.Name -}}
{{- range $param := $meth.Args -}}
{{- if not $param.IsBaseType -}}
// Add custom business logic for interpreting {{$param.FlagArg}},
{{- end -}}
{{- end -}}
{{- end -}}
request := pb.{{GoName $i.RequestType.GetName}}{
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.GetName -}}
request := pb.{{GoName $i.RequestType.Name}}{
{{- with $meth := index $templateExecutor.ClientArgs.MethArgs $i.Name -}}
{{range $param := $meth.Args -}}
{{- if $param.IsBaseType}}
{{GoName $param.Name}} : {{GoName $param.FlagArg}},

Просмотреть файл

@ -1,5 +1,5 @@
type Service interface {
{{range $i := .Service.Methods}}
{{$i.GetName}}(ctx context.Context, in *pb.{{GoName $i.RequestType.GetName}}) (*pb.{{GoName $i.ResponseType.GetName}}, error)
{{$i.Name}}(ctx context.Context, in *pb.{{GoName $i.RequestType.Name}}) (*pb.{{GoName $i.ResponseType.Name}}, error)
{{- end}}
}

Просмотреть файл

@ -2,13 +2,13 @@
{{ with $PackageName := $templateExecutor.PackageName}}
{{range $i := $templateExecutor.Service.Methods}}
// {{.GetName}} implements Service.
func (s {{$PackageName}}Service) {{.GetName}}(ctx context.Context, in *pb.{{GoName .RequestType.GetName}}) (*pb.{{GoName .ResponseType.GetName}}, error){
// {{.Name}} implements Service.
func (s {{$PackageName}}Service) {{.Name}}(ctx context.Context, in *pb.{{GoName .RequestType.Name}}) (*pb.{{GoName .ResponseType.Name}}, error){
_ = ctx
_ = in
response := pb.{{GoName .ResponseType.GetName}}{
response := pb.{{GoName .ResponseType.Name}}{
{{range $j := $i.ResponseType.Fields -}}
// {{GoName $j.GetName }}:
// {{GoName $j.Name }}:
{{end -}}
}
return &response, nil

Просмотреть файл

@ -79,7 +79,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _nameServiceNameClientClient_mainGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\xd1\x6f\xdb\xc6\x0f\x7e\xb6\xfe\x0a\xfe\x84\x04\x90\x0b\x47\xee\x0f\xd8\x5e\x0c\xe4\x21\xcd\xd2\x35\xc0\x5a\x18\x49\x80\xbe\x0c\x18\x2e\x12\x2d\xdd\x2a\xdd\xa9\x77\x27\x27\x85\xe0\xff\x7d\x24\x25\xcb\x76\xe2\x34\xeb\xb6\x02\x8d\x24\x8a\xfc\xc8\xfb\xf8\x91\x72\xa3\xb2\x2f\xaa\x40\xa8\x95\x36\x51\xa4\xeb\xc6\xba\x00\x49\x34\x89\xd1\x64\x36\xd7\xa6\x98\xff\xe9\xad\x89\xc9\xb0\xaa\x54\x21\xd7\x3a\xf0\xc5\x7a\xfe\xeb\x83\xcb\xac\x59\x0f\xb7\xe4\x2e\xd6\xa0\x6b\x8c\x23\xba\x29\x6c\xa5\x4c\x91\x5a\x57\xcc\x1f\xe7\x06\xc3\x9c\x9c\x03\x3e\x0a\x40\x61\x6d\x51\x61\xba\xe7\x52\xb8\x26\xeb\xc3\x74\x28\xdb\xfb\x34\xb3\xf5\xbc\xf9\x52\xcc\xd1\x39\xeb\x3c\xbf\x99\xcf\xe1\xae\xd4\x1e\x6e\xd1\xad\x75\x86\xd1\xa4\x54\x26\xaf\xd0\x41\xdc\x75\xe9\xb5\x14\xbf\x54\xa1\x84\xb3\xcd\x06\xe6\xc3\x3b\x3f\xf7\xe4\x8d\x8e\x72\x66\x95\x46\x13\x3e\xfc\x9d\x98\xde\x95\x62\xb8\xa8\xfe\xe1\x68\x40\x81\x06\x9d\x0a\x98\x0f\x11\xc3\x21\x26\x65\x08\xcd\x8f\x84\xb1\x3f\x85\x35\xf7\xe2\xbe\x7c\x77\x18\x10\x47\xd3\x28\x5a\x2b\xc7\x9d\xf9\x03\xce\x61\xa0\x3d\x5d\x2a\xe7\xf1\xda\x84\xd1\xca\x1d\x48\x6f\x9b\x4a\x0f\x26\x6e\x5e\x7a\x69\x6b\x6a\xf3\x60\xe9\xc9\x4c\x3f\x3b\xd5\xac\x7a\x4b\x73\x9f\xde\x60\xa1\x7d\x40\x47\xa9\x07\x6a\xd3\x5f\x31\x7c\x52\x35\x6e\x36\xb7\xc2\x1e\x17\x10\xad\x5a\x93\x89\x52\x92\x29\x74\x43\x37\x10\x54\x9e\xd3\x21\xa0\x71\xe8\xdb\x1a\x3d\x18\x0b\xbe\x07\x81\x5c\xfb\xcc\x52\xf4\x37\xf0\xdf\x08\xbf\x9e\x01\xf1\x0b\xf8\xd8\x60\x16\x3c\xb4\xe4\xe6\x21\x58\x41\x6a\x9c\x5d\xeb\x1c\x21\x94\x1c\xe6\xc8\x81\x81\x09\xd3\x83\x5d\x51\xd8\x16\x33\xed\x15\xd0\x67\x6b\x82\xb6\x06\xe8\xd1\xe1\xaa\xa2\x10\xcc\x81\x64\xcc\x70\x0c\xc3\x55\xdd\x6b\xa3\x28\x3d\xa7\x65\xd3\x60\xe6\xb6\x0c\xca\xf7\x0b\x31\x9e\x05\xa7\x8c\x67\xce\x53\x4e\x0b\xac\x76\x2f\x48\x1c\x4a\xd4\x6b\xdb\xfa\x6d\x28\x71\x4f\x5c\xb7\x59\x20\x26\xe1\xde\x52\x8f\xfa\x23\x41\x69\x7d\x58\xc8\x08\x6d\x7b\x41\xa2\x1d\xfa\x26\x92\xb8\x60\xec\xfe\xdf\xb9\xe4\x48\x6f\xc5\x31\x89\xf9\xad\xa4\x8e\x67\x10\xf3\xff\x0f\x77\x77\xcb\x03\x0a\xf2\xdc\xaf\xb3\x78\x4a\x48\xac\xb1\x97\x91\xf8\xed\x88\xb4\xf8\xf9\xed\x4f\x6f\xf9\xa6\xb8\x59\x5e\x42\xc2\xa0\xd3\x17\x50\x6b\x0c\xa5\xcd\x01\x8e\xa3\xf6\x6f\x19\xa9\xeb\x88\x2a\x5a\x19\x27\xda\xe4\xf8\x38\xa3\x2b\x2c\xce\x61\x14\xce\x47\x71\xf4\x9b\x4d\xd7\xe9\xd5\xe0\xc4\x0f\x58\x79\xe4\xeb\x9d\xfd\xcd\x3e\xd0\xf8\x9d\xe8\x9d\xc6\xe8\xad\xc9\xc7\x4b\x3c\x9b\xfc\xb3\x24\xb3\x11\xe7\x3b\x49\xf8\xac\xd3\xbd\xb6\x90\xe6\x2f\xa5\xad\x17\x8e\xfa\x75\x51\x55\xef\xb9\xf5\x9b\x0d\x7b\x4d\x84\x02\x99\xb2\x84\x07\x60\x0c\xda\x0a\x7c\xd8\x17\xe9\xb8\x90\x26\x34\x5f\x42\x9f\xcc\x99\x60\x50\x81\x6f\xc6\xde\xff\xef\x9c\xba\xcb\xc3\xb3\x85\x98\xb1\x27\x91\xbd\x5b\x18\xe9\x27\x7c\x48\xc6\x08\x02\xd8\x00\x73\x07\x8c\x33\x76\x7e\x87\x43\x62\x34\x3d\x08\x11\x24\xbd\xff\x45\xab\x2a\x19\x5d\x67\xbd\xf1\x33\xed\xd4\x6b\xe3\x31\x6b\x1d\x9d\x65\xcf\x78\x47\xcb\xda\xb6\x21\xe1\xa5\x4d\xe7\x20\xb8\x7c\xca\x72\xa0\x74\x0c\x4a\x89\x8c\xae\x24\xd3\x84\x56\x7f\xfa\xbe\x21\x3d\x84\x55\x62\x69\xcf\x84\x9c\x3c\x48\x11\x57\x7c\x56\x78\x28\x75\xc5\xb3\xab\x2a\x12\x8c\xe0\xf3\xa0\x18\x9a\x0b\x1a\xd2\x05\x9c\xae\x63\x29\x93\xb1\x27\x14\x7d\xf5\xa8\x43\xf2\x7f\x7e\x22\xaa\x27\x39\xae\xa8\x5d\xec\x4f\xdd\xb0\x42\xf7\x33\x8a\x76\xab\x58\x28\x62\xe7\x1d\x3b\x5c\xe0\x4b\xf5\x49\x2f\x16\xbc\x98\x1c\xd6\x36\xe0\x38\x00\x9e\xa6\x56\xaf\x34\xe6\xbf\x1b\x19\x81\xfd\xb2\x36\xd1\x11\x0a\x5e\xc9\x70\xba\x26\xa0\xf1\x94\x87\x68\xd1\xc4\x3f\xe8\x90\x95\xf0\x66\x18\xb4\x2e\xea\x3a\x20\x53\x09\x27\xe1\x4a\xd4\xcd\xa2\xdb\x09\x9f\x4d\xf4\xe6\xb9\xe6\xb9\xe9\x8a\x8e\x1c\x1f\xd7\x79\xbc\x60\x86\xbb\xee\xac\x07\x97\xd9\x10\xa0\x3d\x99\x33\x16\xdf\xec\x05\xf2\x77\x86\x03\x45\xe3\x7c\xec\x41\xc1\x82\x95\x7e\xa4\x19\x28\xd5\x6e\x36\xfa\x04\x32\x50\xfc\xe0\xf0\x6b\x8b\x3e\x8c\x3a\x3c\xf8\xd2\xa6\x5d\xb7\x5f\x5f\xd2\x75\x3f\x54\x18\x4f\x6e\x7a\xa9\xaa\x8a\xed\xe3\x18\x8b\x8c\x8e\x68\xf4\x15\x91\x66\x84\xc3\xf2\xfc\x5e\x81\x4f\xfb\xf8\x44\xae\xd2\x4b\xa2\x69\x3c\xec\xf6\xcb\xf4\xe4\x98\xc3\x6f\x9d\xf4\x1d\x7d\x68\x0a\x67\x5b\x93\xf3\xdc\x0d\x4c\xfd\xcb\xf2\x8f\xa7\x7c\xbd\xf0\x21\xc1\x92\xf1\x2b\x93\xc4\x3d\xf3\x70\xd3\x17\x45\x9f\x4f\xee\xcc\x42\x66\xe1\xc0\xf1\xbf\x6b\xd9\x41\xfa\xfe\xb7\x05\xa5\xa7\x2f\x2f\x41\xbf\x98\x7e\x3d\x8d\xf6\xf4\xb6\xa7\x3c\x5a\x1b\xaa\xad\xc2\xe2\xf5\xd1\xd4\x66\x4d\x8b\x29\x87\x61\xf8\x4e\xbf\x0a\x51\xfd\xd3\xf3\x61\xa5\x16\xff\x15\x00\x00\xff\xff\xf6\xa8\x3c\xa8\x1a\x0b\x00\x00")
var _nameServiceNameClientClient_mainGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\xdf\x6f\xdb\x36\x10\x7e\xb6\xfe\x8a\x9b\x90\x00\x72\xe1\xd0\x1d\xb0\xbd\x18\xc8\x43\x9a\xa5\x68\x80\xb5\x30\x92\x00\x7d\x19\x30\x30\x12\x2d\x71\x95\x48\x95\xa4\x9c\x14\x82\xff\xf7\xdd\x9d\x68\xd9\x6e\x6c\xa4\xfb\x51\xa0\x91\x44\xdd\x7d\x77\xfc\xbe\xef\x28\xb7\x32\xff\x22\x4b\x05\x8d\xd4\x26\x49\x74\xd3\x5a\x17\x20\x4b\x26\xa9\x32\xb9\x2d\xb4\x29\xe7\x7f\x79\x6b\x52\x5c\x58\xd5\xb2\xe4\x6b\x13\xe8\x62\x3d\xfd\xf5\xc1\xe5\xd6\xac\xe3\x2d\x86\xf3\x6a\xd0\x8d\x4a\x13\xbc\x29\x6d\x2d\x4d\x29\xac\x2b\xe7\xcf\x73\xa3\xc2\x1c\x83\x83\x7a\x66\x80\xd2\xda\xb2\x56\x62\x2f\xa4\x74\x6d\x3e\xa4\xe9\x50\x75\x8f\x22\xb7\xcd\xbc\xfd\x52\xce\x95\x73\xd6\x79\x7a\x33\x9f\xc3\x43\xa5\x3d\xdc\x2b\xb7\xd6\xb9\x4a\x26\x95\x34\x45\xad\x1c\xa4\x7d\x2f\x6e\xb9\xf9\xa5\x0c\x15\x5c\x6c\x36\x30\x8f\xef\xfc\xdc\x63\xb4\x72\x58\x33\xaf\xb5\x32\xe1\xc3\x8f\xe4\x0c\xa1\x98\x43\x4d\x0d\x0f\x47\x13\x4a\x65\x94\x93\x41\x15\x31\x23\x6e\x62\x52\x85\xd0\xfe\x93\x34\x8a\xc7\xb4\xf6\x91\xc3\x97\xef\x0e\x13\xd2\x64\x9a\x24\x6b\xe9\x48\x99\x3f\xe1\x12\x22\xed\x62\x29\x9d\x57\xb7\x26\x8c\xab\xa4\x80\xb8\x6f\x6b\x1d\x97\x48\x3c\x71\x6d\x1b\x94\x39\xae\x0c\x64\x8a\xcf\x4e\xb6\xab\x61\xa5\x7d\x14\x77\xaa\xd4\x3e\x28\x87\xa5\x23\xb5\xe2\x93\x6c\xd4\x66\x73\xcf\xd4\x51\xf5\x64\xd5\x99\x9c\x6d\x92\x4d\xa1\x8f\x52\x28\x90\x45\x81\x3b\x80\xd6\x29\xdf\x35\xca\x83\xb1\xe0\x07\x04\x28\xb4\xcf\x2d\x66\x7f\x03\xff\x0d\xc1\x9b\x19\x20\xb9\xa0\x9e\x5b\x95\x07\x0f\x1d\x86\x79\x08\x96\x91\x5a\x67\xd7\xba\x50\x10\x2a\x4a\x73\x18\x40\xc0\x88\xe9\xc1\xae\x30\x6d\x8b\x29\x06\xf9\x87\x6a\x6d\xd0\xd6\x00\x3e\x3a\xb5\xaa\x31\x45\x15\x80\x1e\x26\x38\x82\xa1\xae\x1e\xb5\x91\x58\x9e\xca\xd2\x52\x5c\x26\x4d\xa2\xed\xfd\x82\x17\x2f\x82\x93\xc6\x13\xe1\x82\xca\x02\x59\xdd\x33\x12\xa5\x22\xef\xda\x76\x7e\x9b\x8a\xc4\x23\xd1\x5d\x1e\x90\x46\x78\xb4\x28\xd0\xb0\x25\xa8\xac\x0f\x0b\x9e\x9f\xad\x10\xe8\xd8\x28\x1a\xfb\xe1\x8a\xb0\x87\x7f\x97\x5c\x43\xdc\x73\x60\x96\xd2\x5b\x2e\x9d\xce\x20\xa5\xff\x1f\x1e\x1e\x96\x07\x14\x14\x85\x5f\xe7\xe9\x14\x91\xc8\x60\xa7\x91\xe8\xed\x88\xb4\xf8\xf5\xed\x2f\x6f\xe9\xa6\xbc\x5b\x5e\x43\x46\xa0\xd3\x13\xa8\x8d\x0a\x95\x2d\x00\x8e\xa3\x0e\x6f\x09\xa9\xef\x91\x2a\x3c\x2f\xce\xb4\x29\xd4\xf3\x0c\xaf\xb0\xb8\x84\xd1\x35\x1f\x39\xd0\x6f\x36\x7d\xaf\x57\x31\x88\x1e\x54\xed\x15\x5d\x1f\xec\xef\xf6\x09\x67\xef\x4c\x47\x83\xe1\x2b\x53\x8c\x97\x74\x36\xf9\x77\x15\x66\x23\xce\xa9\x0a\xb4\xcb\xe9\x9e\x20\x68\xf5\x6b\x16\xf4\xca\xa1\x52\x57\x75\xfd\x9e\x44\xdf\x6c\x28\x6a\xc2\x9b\xe7\xe1\xca\xc8\xfa\x63\xd2\xd6\xda\xf1\x98\x10\xe3\x39\x34\xc1\xb1\x62\xe2\x78\xbc\x18\x03\xbb\x7b\x33\xaa\xfe\xd3\x25\xea\x4a\x63\xb3\x85\x98\x51\x24\xd2\xbc\x3b\x27\xc4\x27\xf5\x94\x8d\x19\x08\xb0\x01\x62\x0d\x08\x67\xd4\x7c\x87\x83\x36\x34\x03\x08\xb2\xc3\xaa\xff\xa6\x65\x9d\x8d\xa1\xb3\x61\xf1\x33\x1e\xa5\xb7\xc6\xab\xbc\x73\xb8\x97\xbd\xc5\x07\x3c\xa3\x6d\x17\x32\x3a\xab\x71\x1f\x08\x57\x4c\xc9\x08\x58\x8e\x40\xb1\x90\xd1\x35\x57\x9a\xe0\x89\x2f\xde\xb7\xe8\x84\xb0\xca\x2c\x1e\x2f\xa1\xc0\x08\xf4\xc2\x0d\xed\x15\x9e\x2a\x5d\xd3\xd4\xca\x1a\xad\xc2\xf8\x34\x22\x06\x27\x02\xc7\x73\x01\xe7\xeb\x94\xdb\x24\xec\x09\x66\xdf\x3c\xeb\x90\xfd\x4c\x4f\x48\xf5\xa4\x50\x2b\xd4\x8a\xe2\x51\x0d\xcb\x74\xbf\xa0\x68\x77\x02\x33\x45\x14\xbc\x63\x87\x1a\x3c\xd5\x1f\x6b\xb1\xa0\x23\xc9\xa9\xc6\x06\x35\x5a\xdf\xe3\xbc\xea\x95\x56\xc5\x1f\x86\xcd\xbf\xdf\xd6\x26\x39\x42\xc1\x2b\x15\xce\xd7\x08\x34\xee\xf2\x10\x2d\x99\xf8\x27\x1d\xf2\x0a\xde\xc4\x11\xeb\x93\xbe\x07\x5c\xaa\xe0\x2c\xdc\xb0\xb5\xc9\x74\x3b\xd7\xd3\x12\xbe\x79\x69\x78\x12\x5d\xe2\x96\xd3\x23\x26\x4f\x17\x44\x6f\xdf\x5f\x0c\xc8\x3c\x15\x8c\xb2\xe7\x71\x02\xa2\x9b\x6d\x16\x7d\x58\x28\x8b\xdd\x4d\x1b\x8e\xde\x65\x20\xf1\x11\xdd\x5f\xc9\xdd\x54\x0c\xe8\x3c\x4a\xf4\xe0\xd4\xd7\x4e\xf9\x30\x3a\xf0\xe0\xd3\x2a\xfa\x7e\xec\x2c\xeb\xfb\x1f\x6f\x89\xa6\x55\x5c\xcb\xba\xa6\xc5\x71\x74\xd9\x3a\x47\x7c\xf9\x8a\x31\x73\xc4\x21\x4b\x9e\x6c\xed\x7b\xe1\xbe\xf3\x27\x8b\x87\xec\x8c\x7b\xdc\x7e\x84\xf6\x77\x17\x7f\xd0\x88\x77\xf8\x41\x29\x9d\xed\x4c\x41\x53\x16\xd9\xf9\x8f\x8d\x1f\xa9\xf7\x7a\xcb\x11\x7d\x49\xe0\xb5\xc9\xd2\x81\x6d\xb8\x1b\x3a\xc2\x6f\x24\xa9\xb1\x60\xdb\x1f\x04\xfe\x4f\x32\x1d\xd4\x1e\x7e\x3d\x60\x6d\xfc\xb6\x22\xee\xc9\xda\xeb\x69\xb2\xe7\xae\x3d\x9f\xe1\xf1\x20\xbb\x3a\x2c\x5e\x1f\x41\x6d\xd6\x78\x00\x15\x10\x87\xec\xfc\x2b\xb3\x34\x3c\xbd\x1c\x4a\x54\xf6\xef\x00\x00\x00\xff\xff\xe6\x1b\x01\x58\xf9\x0a\x00\x00")
func nameServiceNameClientClient_mainGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -94,12 +94,12 @@ func nameServiceNameClientClient_mainGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/NAME-client/client_main.gotemplate", size: 2842, mode: os.FileMode(436), modTime: time.Unix(1477930115, 0)}
info := bindataFileInfo{name: "NAME-service/NAME-client/client_main.gotemplate", size: 2809, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServiceNameServerServer_mainGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\xdf\x6f\xdb\x36\x10\x7e\x96\xfe\x0a\x56\xe8\x00\x69\x70\xa8\x0e\x5b\xf7\x10\x34\x0f\x4d\x9a\xa5\xc1\x92\xc0\x48\x3c\xec\x59\x96\xce\x34\x11\x89\x14\x48\x2a\x75\x60\xf8\x7f\xdf\x1d\x45\x29\x72\xe0\x38\x7b\x68\xd1\x58\x32\xef\xe3\xc7\xfb\xee\x17\xdd\x16\xe5\x63\x21\x80\x35\x85\x54\x71\x2c\x9b\x56\x1b\xc7\xd2\x38\x4a\x56\x75\x21\x12\x7a\x36\x8e\x1e\x0a\x86\x47\xbe\x76\xae\x9d\xbe\xe7\x6d\x6b\xf4\x8a\x56\xb4\xed\x3f\x73\x2b\x85\x2a\x6a\xfa\x62\x9f\x6d\x59\xd4\xf8\x1a\x47\x79\xce\x7e\xaf\xd8\xbc\x30\xee\x19\x0d\x42\xd7\x85\x12\x5c\x1b\x91\x6f\x72\xa2\x2a\xb5\x72\xb0\xf1\xa7\x08\xad\x45\x0d\x7c\x02\x11\xa6\x2d\x03\xc7\x95\x66\x7f\x4b\x47\x28\xe9\xd6\xdd\x92\x97\xba\xc9\x85\x3e\x79\x94\x2e\xa7\x3f\x50\x55\xab\xa5\xea\x79\x0e\x22\x6a\x2d\x02\xd5\x62\x2d\x2d\x7b\x00\xf3\x24\x4b\x88\xa3\x75\xa1\xaa\x1a\x0c\x4b\xb6\x5b\x7e\xed\x03\x31\x2f\xdc\x9a\x9d\xec\x76\x2c\x0f\x36\x54\x86\x68\x30\x48\x6e\x9f\xca\x83\x48\x01\x0a\x4c\xe1\xa0\x42\x4c\xbb\xf4\x90\xf9\xf9\x3e\x08\x4f\xcf\xe2\x78\xd5\xa9\xd2\x87\x3d\xcd\xd8\x36\x8e\x9e\x0a\x43\x71\x8f\x2a\x58\x76\xe2\x6b\x55\x19\xe6\xff\x9d\x31\x4a\x04\x7f\x70\x46\x2a\x91\x26\xde\xca\x0b\x34\x27\x33\x96\x9c\x7e\xfe\xf4\xe7\x27\x7a\xf9\x46\xcb\x0c\x7d\x64\x0d\x20\xb2\xb4\xac\x96\xd6\x81\x62\x84\x04\x6b\x93\x0c\x99\x29\x57\x2f\xc4\xaf\x99\xc9\x3a\x25\xfe\xec\x89\xbf\x2f\x16\xf3\x43\x5c\x94\x8f\xb7\xb9\xc8\x3a\xe5\xfa\xc3\x73\x89\xfb\xf9\x05\x4b\x89\x31\x3b\x40\x89\xff\x3d\x07\xd6\x87\x85\x34\xeb\x13\x74\xa3\x85\x40\x46\x56\x69\x0a\x14\xef\xa3\x84\xf9\x13\xe0\x1f\xfc\xc6\xbf\xc6\x11\xc6\x2f\x0a\xcb\x67\xde\x70\x07\x3f\xd0\x86\xb5\xdb\x23\x52\x6d\xd1\xb9\x4a\x77\x2e\x3b\x80\xbc\xe8\x2b\x2f\xed\xd7\x33\xfe\x2f\x96\x4d\x9a\x38\x8b\x4e\x13\xe2\x1b\xac\x8a\xae\x76\x0b\xd9\x80\x75\x45\xd3\xfe\xb3\xb8\xf8\xff\x2c\x54\xfc\x60\xf6\x99\x2e\xfc\x1a\x72\xec\xe2\xc0\x42\x42\xd2\xa4\xb1\x82\xe2\xb4\x86\xba\xd6\x14\x92\x0a\x56\x30\xc8\xdd\x43\x60\x7f\x54\xcb\x67\x48\x42\x94\xce\x3b\x2b\x15\x86\x71\x3f\x4c\xb6\xaf\x6b\x16\x4a\x97\x8f\x75\x4e\xc1\x1a\x8c\x67\xa3\x19\x15\x04\x44\x4a\xea\x90\x16\x93\x33\x92\xd4\x21\x11\xd3\x12\x5b\x83\x01\xd2\xe0\x7d\xb8\x0c\x6d\xf7\xe2\xc3\x76\x6b\xb0\x7b\x81\x7d\x94\xec\xf4\x8c\x0d\xc7\xf3\x5b\x70\x6b\x5d\xd9\xdd\xae\xf7\x72\xbb\x5d\xe8\x1b\xfd\x03\x75\x7e\x94\xfc\x0a\xdc\x5d\xd1\xc0\x6e\x37\xb2\x0d\xdd\xcc\x87\x95\xde\xfd\x77\x76\x9d\x31\xec\x4e\x7e\x5b\x3c\xc2\x76\x7b\x08\x90\x06\x59\x41\x28\x16\xf2\x78\x10\x73\xa6\x28\x51\xe9\x8c\x49\x65\x9d\xe9\x1a\x50\xae\x70\x52\x2b\x2f\x7d\x08\xc3\x20\x1d\x1d\xc1\x8d\xa4\x65\xd8\x6f\x49\x2c\x9d\x3e\x9c\x65\xb7\xef\x85\x82\x46\x82\xd7\x74\xc8\xd5\x53\x6a\xaf\xe3\x72\x67\x13\x37\x42\x36\x6e\xa1\xc4\xbc\x4a\x2c\xbe\x97\x7c\x80\x31\x25\x1d\xdf\x60\x58\x52\x32\x33\x5c\xd1\x54\x86\xa5\xdb\x90\x21\x0c\x60\x7e\x8e\x57\x82\x30\xba\x53\xd5\xd0\x86\xd7\x68\x30\xa6\x6b\xdd\x58\x2d\x71\x24\x34\xa3\x09\xd6\x0f\xaf\xe8\x15\x33\xb5\x9b\xbf\x02\x66\xec\x37\x0a\x72\x7f\x1f\xf0\x3b\xed\xe4\xea\x39\x2d\x67\x2c\x5c\x0b\xfc\xe1\xfa\xea\xfa\x6e\xb1\xf7\x7d\x71\x79\x7f\x4b\x7b\xbc\xbf\x5f\x4e\x18\x36\x31\xbf\x24\x4f\x57\x69\xf2\x0b\xf5\xe4\x97\x93\x92\x7a\x67\x70\xae\x9f\x7d\xfd\x40\x39\xe0\x59\x68\xd3\xd3\xf7\xba\x1d\x33\x64\x69\x48\x53\x7f\xf9\x29\xeb\xbb\x2b\x6a\x68\xa7\x9f\x8d\xa1\x41\xe0\xb6\xdb\xf8\x0e\x69\xf8\x77\x1f\x8c\x34\xc9\x3d\xbe\xbf\x06\x73\xdc\xef\xe1\xbd\xd1\xfc\x45\x9e\x78\x0b\xbf\x56\x15\x6c\xb2\x23\x5b\xcb\xa6\xaa\xb1\x91\xdf\x66\xb8\xe8\x01\xc7\x38\xe8\x43\xd6\x47\x38\xe6\x3d\xe0\x18\x87\x7d\x6e\x96\xba\x7e\x9b\xe2\xc1\xdb\x8f\x31\x50\x13\x1d\xf1\x61\x41\xe6\xcc\xc7\x77\x3a\xdd\xc2\x8d\xf1\xeb\x78\x05\x4e\xcb\xc0\x53\xdd\xf8\x2c\x7f\x55\x95\xcf\x44\xfa\x82\x9c\xb1\x66\x5a\x13\xfe\xda\x1a\x53\xfa\x53\x6a\x82\x28\xfb\x6b\x74\xe8\x70\x9a\x2f\xb4\x1a\xf4\xa5\xd8\x46\xb3\x71\x8e\xd8\x59\x18\xdc\xd9\x1b\x22\x87\xdb\xf8\x5d\x8d\x03\x10\xa3\x39\x95\xe8\x6f\xd3\x9f\x2b\x91\x28\xfb\xaa\xaf\xd5\x8c\xa6\x03\x6d\xc7\x9f\x66\xc1\x25\x44\x97\x2d\xb9\x3e\x5c\xfe\xe4\xba\x5c\x79\xe0\x07\x04\xca\xda\x9f\x3c\xaa\xc1\x27\x7d\x35\xe0\x3a\xa3\xf0\x8d\x66\x53\x64\xcd\xd3\x34\x7e\x57\x78\xa4\xd7\xf9\x3a\x7c\x7e\x6a\x10\xd2\xff\x96\x18\x7a\xcf\xf8\xce\x6b\x97\xfc\x1e\x04\xf9\x64\xf0\xd7\xd5\x30\x4d\xc7\xb9\x18\x90\x98\x01\x3c\xec\xcd\x22\x9b\x8a\x18\x3c\xb6\xbc\x8f\x79\xad\xa6\x91\xbe\xef\xd4\x87\xfd\x8b\x1a\x36\xd2\xf9\x41\x44\x1b\xb3\x78\x17\xff\x17\x00\x00\xff\xff\x27\x08\x21\xb1\x46\x0b\x00\x00")
var _nameServiceNameServerServer_mainGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\x5d\x6f\xdb\x36\x14\x7d\x96\x7e\x05\x2b\x74\x80\x34\x38\x54\x87\xad\x7b\x08\x9a\x87\x36\xcd\xd2\x60\x49\x60\x24\x1e\xf6\x2c\x4b\x34\x4d\x44\x22\x05\x92\x4a\x6d\x08\xfe\xef\xbb\x97\xa4\x14\x39\xb5\x9d\x3d\xb4\x68\x2c\x99\xf7\xf0\xf0\x9e\xfb\x45\xb7\x45\xf9\x54\x70\x46\x9a\x42\xc8\x38\x16\x4d\xab\xb4\x25\x69\x1c\x25\xab\xba\xe0\x09\x3e\x1b\x8b\x0f\xc9\x86\x47\xbe\xb6\xb6\x9d\xbe\xe7\x6d\xab\xd5\x0a\x57\x94\xf1\x9f\xb9\x11\x5c\x16\x35\x7e\x31\x5b\x53\x16\x35\xbc\xc6\x51\x9e\x93\xdf\x2b\x32\x2f\xb4\xdd\x82\x81\xab\xba\x90\x9c\x2a\xcd\xf3\x4d\x8e\x54\xa5\x92\x96\x6d\xdc\x29\x5c\x29\x5e\x33\x3a\x81\x70\xdd\x96\x81\xe3\x5a\x91\xbf\x85\x45\x94\xb0\xeb\x6e\x49\x4b\xd5\xe4\x5c\x9d\x3d\x09\x9b\xe3\x1f\x93\x55\xab\x84\xf4\x3c\x07\x11\xb5\xe2\x81\x6a\xb1\x16\x86\x3c\x32\xfd\x2c\x4a\x16\x47\xeb\x42\x56\x35\xd3\x24\xe9\x7b\x7a\xe3\x02\x31\x2f\xec\x9a\x9c\xed\x76\x24\x0f\x36\x50\x06\x68\xa6\x81\xdc\x3c\x97\x07\x91\x9c\x49\xa6\x0b\xcb\x2a\xc0\xb4\x4b\x07\x99\x7f\xd9\x07\xc1\xe9\x59\x1c\xaf\x3a\x59\xba\xb0\xa7\x19\xe9\xe3\xe8\xb9\xd0\x18\xf7\xa8\x62\xcb\x8e\x7f\xae\x2a\x4d\xdc\xbf\x0b\x82\x89\xa0\x8f\x56\x0b\xc9\xd3\xc4\x59\x69\x01\xe6\x64\x46\x92\xf3\x8f\x1f\xfe\xfc\x80\x2f\x5f\x71\x99\x80\x8f\xa4\x61\x80\x2c\x0d\xa9\x85\xb1\x4c\x12\x44\x32\x63\x92\x0c\x98\x31\x57\x2f\xc4\xaf\x99\xd1\x3a\x25\xfe\xe8\x88\xbf\x2d\x16\xf3\x43\x5c\x98\x8f\xe3\x5c\x68\x9d\x72\xfd\xe1\xb8\xf8\xc3\xfc\x92\xa4\xc8\x98\x1d\xa0\x84\xff\x8e\x03\xea\xc3\xb0\x34\xf3\x09\xba\x55\x9c\x03\x23\xa9\x14\x06\x8a\xfa\x28\x41\xfe\x38\x73\x0f\x7a\xeb\x5e\xe3\x08\xe2\x17\x85\xe5\x0b\x67\xb8\x67\xdf\xc1\x06\xb5\xeb\x11\xa9\x32\xe0\x5c\xa5\x3a\x9b\x1d\x40\x5e\xfa\xca\x4b\xfd\x7a\x46\xff\x85\xb2\x49\x13\x6b\xc0\x69\x44\x7c\x65\xab\xa2\xab\xed\x42\x34\xcc\xd8\xa2\x69\xff\x59\x5c\xfe\x7f\x16\x2c\x7e\xa6\xf7\x99\x2e\xdd\x1a\x70\xec\xe2\xc0\x82\x42\xd2\xa4\x31\x1c\xe3\xb4\x66\x75\xad\x30\x24\x15\x5b\xb1\x41\xee\x1e\x02\xfa\xa3\x5a\x6e\x59\x12\xa2\xf4\xa5\x33\x42\x42\x18\xf7\xc3\x64\x7c\x5d\x93\x50\xba\x74\xac\x73\x0c\xd6\x60\xbc\x18\xcd\xa0\x20\x20\x52\x54\x07\xb4\x90\x9c\x91\xa4\x0e\x89\x98\x96\xd8\x9a\x69\x86\x1a\x9c\x0f\x57\xa1\xed\x5e\x7c\xe8\x7b\x0d\xdd\xcb\xc8\x7b\x41\xce\x2f\xc8\x70\x3c\xbd\x63\x76\xad\x2a\xb3\xdb\x79\x2f\xfb\x7e\xa1\x6e\xd5\x77\xd0\xf9\x5e\xd0\xfb\xa2\x61\xbb\xdd\x48\x35\xb4\x32\x1d\x56\xbc\xef\xa7\xb6\x5c\x10\xe8\x4b\x7a\x57\x3c\xb1\xbe\xff\xc1\x9a\x06\x35\x41\x1f\xd4\xef\x78\x04\xb1\xba\x28\x41\xe0\x8c\x08\x69\xac\xee\x1a\x26\x6d\x61\x85\x92\x4e\xf1\xa0\x7e\x50\x0c\x2e\xc0\x46\x94\x30\xec\x37\xa8\x11\x8f\x1e\xce\x32\xfd\x5b\x11\xc0\x49\xe0\xd4\xfc\xe0\xe7\x39\xb6\xd4\x09\x95\xb3\x89\x03\x21\xfc\x77\xac\x84\x44\x0a\xa8\xb6\x97\x04\x30\xad\x4b\x3c\xb8\x81\x68\xa4\x68\x26\xb0\xa2\xb0\xee\x4a\xbb\x41\x43\x98\xb8\xf4\x0b\xdc\x01\x5c\xab\x4e\x56\x43\xdf\xdd\x80\x41\xeb\xae\xb5\x63\x79\xc4\x11\x57\x04\x47\x96\x9f\x56\xd1\x2b\x66\xec\x2f\x37\xf3\x67\xe4\x37\x0c\xaf\xbf\x00\xe8\xbd\xb2\x62\xb5\x4d\xcb\x19\x09\xf7\x00\x7d\xbc\xb9\xbe\xb9\x5f\xec\x7d\x5f\x5c\x3d\xdc\xe1\x1e\xe7\xef\xa7\x33\x02\x5d\x4b\xaf\xd0\xd3\x55\x9a\xfc\x82\x4d\xf8\xe9\xac\xc4\x66\x19\x9c\xf3\xc3\xce\x4f\x90\x03\x9e\x85\xbe\x3c\x7f\xab\xbd\x21\x37\x06\xa7\x32\x36\x94\x1b\xab\xae\x9d\xa2\x06\x77\xba\x61\x18\x3a\x82\xdd\x75\x1b\xd7\x12\x0d\xfd\xe6\x82\x91\x26\xb9\xc3\xfb\x7b\x2f\x87\xfd\x0e\xee\x8d\xfa\x2f\xf4\xc4\x59\xe8\x8d\xac\xd8\x26\x3b\xb1\xb5\x6c\xaa\x1a\x3a\xf7\x38\xc3\xa5\x07\x9c\xe2\xc0\x0f\x51\x9f\xe0\x98\x7b\xc0\x29\x0e\xb3\x6d\x96\xaa\x3e\x4e\xf1\xe8\xec\xa7\x18\xb0\x7d\x4e\xf8\xb0\x40\x73\xe6\xe2\x3b\x1d\x67\xe1\x8a\xf8\x75\xbc\xf3\xa6\x65\xe0\xa8\x6e\x5d\x96\x3f\xcb\xca\x65\x22\x7d\x41\xce\x48\x33\xad\x09\x77\x4f\x8d\x29\xfd\x29\x35\x81\x94\xfe\xde\x1c\x7a\x1b\xc7\x0a\xae\x06\x7d\x29\xb4\xd1\x6c\x9c\x20\x66\x16\x26\x75\x76\x44\xe4\x70\xfd\xbe\xa9\x71\x00\x42\x34\xa7\x12\xdd\xf5\xf9\x73\x25\x22\xa5\xaf\xfa\x5a\xce\x70\x3a\xe0\x76\xf8\x2d\x16\x5c\x02\x74\xd9\xa2\xeb\xc3\x6d\x8f\xae\x8b\x95\x03\xbe\x03\xa0\xa8\xdd\xc9\xa3\x1a\x78\xe2\x57\xcd\x6c\xa7\x25\xbc\xe1\x6c\x8a\x8c\x7e\x9e\xc6\xef\x1a\x8e\x74\x3a\x5f\x87\xcf\x4d\x0d\x44\xba\x1f\x0f\x43\xef\x69\xd7\x79\xed\x92\x3e\x30\x8e\x3e\x69\xf8\x39\x35\xcc\x51\x3f\x14\x03\x0c\xc2\x0f\x27\x1d\xad\xb0\xa9\x82\xc1\x5d\x43\x7d\xc0\x6b\x39\x0d\xf3\x43\x27\xdf\xed\x5f\xcb\x6c\x23\xac\x9b\x42\xb8\x31\x8b\x77\xf1\x7f\x01\x00\x00\xff\xff\xb0\x25\xb3\x85\x34\x0b\x00\x00")
func nameServiceNameServerServer_mainGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -114,12 +114,12 @@ func nameServiceNameServerServer_mainGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/NAME-server/server_main.gotemplate", size: 2886, mode: os.FileMode(436), modTime: time.Unix(1477688393, 0)}
info := bindataFileInfo{name: "NAME-service/NAME-server/server_main.gotemplate", size: 2868, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServiceGeneratedClientGrpcClientGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x55\xdd\x8e\xdb\x36\x13\xbd\x96\x9e\x62\x3e\x63\xf1\x41\x5a\x68\xa9\xfb\x14\xbe\x89\x93\x2c\x52\x34\xa9\x9b\x18\xed\x45\x51\x14\x34\x45\xcb\x84\x65\x52\xa5\x68\xaf\x0d\xc1\xef\xde\x19\x92\xb2\x25\x63\x37\x5d\xac\x61\x69\x38\x3c\x73\xe6\xcc\x8f\xcb\x12\x96\x5c\xec\x78\x2d\xa1\xb6\xad\x80\xd6\x9a\xa3\xaa\x64\x07\x1c\xea\x6f\xcb\x05\x88\x46\x49\xed\x60\x63\x2c\xb8\xad\x84\xbe\x67\xdf\xa5\x3d\x2a\x21\xd9\xb3\x74\x5f\xf9\x5e\x5e\x2e\xd0\x45\x4b\xda\x8e\x90\xd2\x54\xed\x5b\x63\x1d\x64\x69\x32\xab\x4d\xc3\x75\xcd\x8c\xad\xcb\x53\xa9\xa5\x2b\x85\xd1\x4e\x9e\xdc\xcc\x9f\x99\xba\x91\x6c\xe4\x42\xd7\xdf\x3e\x29\xf7\xd2\xf1\x8a\x3b\xee\x5d\x94\xdb\x1e\xd6\x4c\x98\x7d\xd9\xee\xea\x52\x5a\x6b\x6c\x37\x4b\xa7\x27\xb5\x79\xda\x29\x57\xd2\x47\xea\xaa\x35\x4a\x53\x60\xc2\x72\x96\xeb\xce\xb3\x7c\xc3\xff\xea\x10\x49\xa5\x09\x0a\xb6\xda\xaa\x0e\xa2\x0c\x69\xb2\xe5\xba\x6a\xa4\x85\x19\x6a\xf3\xd9\xa7\xbc\xe4\x6e\x0b\x4f\x28\x4c\x19\xcf\xba\x92\x24\x92\x16\xa3\x76\x47\xf1\xaa\x67\x2d\xb5\xb4\xdc\xc9\x0a\x7d\xda\xb5\x77\x59\xbe\x9f\x3a\xcd\xd2\x3c\x4d\x31\xfc\x57\xf9\x02\x56\xba\x83\xd5\x58\x25\x3d\xa8\x0f\x6b\x14\x5f\x56\xb0\x3e\xdf\x95\x0e\xa5\xd6\x52\x38\x65\x34\x83\xcf\x0e\x90\x3a\x16\x92\x70\xac\xc4\xcc\x74\xa7\xd6\xaa\x51\xee\x0c\x66\xe3\x2b\x2c\x78\x43\xd9\x38\x03\x95\xe2\x4d\x81\x11\x2a\x68\x90\x98\x45\x3c\xd3\xc9\x22\x38\x8d\x30\x21\xdd\x1c\xb4\x20\x56\x19\x99\xe1\x91\x94\x62\x0b\x1f\x7c\x81\x86\x02\x4c\x4b\x9e\x1d\x30\x16\xcd\xbf\x7a\x43\x0e\x59\xd4\x67\xe8\xa9\x02\x7c\x01\x73\xe8\xd3\xe4\xc8\x31\xa2\x88\x49\x20\xce\x46\xd5\xa8\x3e\xf5\xe1\xdf\x05\x6c\xe0\xdd\x1c\xb0\x34\xd8\x6b\x03\x38\x5e\x49\xf0\x36\x1d\x6c\xb2\xff\x0b\x91\xe3\xbb\xda\x10\x20\xfc\x6f\x0e\x5a\x35\xde\x23\x09\xc2\xd1\x7b\x0c\xd6\xb1\x3f\x2c\x6f\x33\x7c\x2e\x60\x26\xb8\xd6\xc6\x01\x6f\xdb\xe6\x1c\x91\x67\x04\x74\x49\xf1\x3f\x4d\xc4\x88\x7d\x47\x91\xfe\xfc\x6b\xd2\x45\x93\xf4\x28\xdc\x6b\xa7\xef\x25\x26\x21\x33\x22\x13\xa7\xe0\x77\xde\x1c\x64\xb7\x32\xcf\x58\xb5\x2f\xb1\xb9\x33\x21\xd8\x56\xf2\x0a\x9b\x27\xcf\x8b\x10\xbe\xef\x9f\xe0\x05\xdb\x14\x1e\xdc\x47\x8a\xce\x2e\xc8\xcb\x5b\x83\x14\x0f\x8a\xac\x78\x78\x9d\x51\x44\xdb\x9a\xaa\xf3\x7e\x5e\xd1\xbe\x5f\x99\x5f\xcc\x0b\x56\xf3\x41\xdd\x26\xf8\x63\x9c\x0a\x18\xc6\x83\x0d\x16\xba\xe7\x75\x4b\xfe\xe3\xe6\x1c\xa6\xb9\x62\x3b\x84\x74\x7d\xa2\x3e\x55\x5d\x84\x47\xec\xed\x95\x55\xfb\xa5\x95\x1b\x75\x9a\xd0\xfd\x74\x68\x9a\xf3\x6f\x07\xde\xa8\x8d\x92\x15\x45\x80\x19\x9b\x61\xe7\xdf\x6e\x8e\x83\x0f\x66\x9c\x29\x24\x2c\x4c\x25\x49\xc1\xa9\xcf\x37\xf9\x0f\x6a\xeb\x46\x9e\x1f\xe4\x5b\x9e\x7e\x1c\x64\x74\x6d\xd7\xac\xef\x9f\x8d\x27\x81\x6e\xc3\xe9\xea\xdc\x8e\x56\x5f\x7f\x89\xde\x93\xce\xc0\x3e\x0f\xe6\xfc\xaa\x63\x46\x5d\x94\x84\x72\xa1\xc8\x54\x90\xe1\x21\x1d\x7a\x32\xa4\x11\xfc\xbb\x9e\x1c\xc6\x65\xbd\xaf\x29\x6d\x04\x0f\xf7\x5a\x39\xde\x01\xfe\xfd\xb8\x62\xc5\x8d\x41\x72\x29\x68\x20\x52\xe4\xe2\x30\xbd\xc9\xcc\x41\xe7\xec\x41\x38\x1a\x9e\xd8\x8e\xd8\xf4\x68\x53\xba\x26\x7f\x5c\x23\xe3\x9e\xa7\xed\xc2\x81\xf6\x81\x7f\x73\x5b\xee\x60\x6f\x2a\x2a\x67\x17\x16\xc7\x75\x27\xd1\x3c\xfb\x68\x93\xfb\x74\x35\x7b\x1c\x13\xc8\xc3\x98\xa6\x61\xcb\x2c\xdc\x69\x98\x96\xef\x48\x3e\xdb\xc9\xb3\xdf\x2b\x81\x51\x3e\x05\xeb\xaf\xd2\x7a\x58\x03\xaf\x01\xfb\xb5\x60\x86\x59\xc3\x3e\x26\xc8\x74\xbc\x28\x68\xf8\x2e\x31\xfe\x8f\x26\xd6\x73\x19\xc4\xc9\xef\xe6\x21\xf6\xe1\x27\x02\xb9\xe3\x25\xdc\x69\xc0\x65\x8b\xf0\x5d\xc0\xbe\x82\xc7\xe1\x87\x8e\x7d\xf9\x90\xdf\x7b\x78\xda\x34\xd1\x2d\x57\xe3\x9a\x24\xc3\x8a\xdc\xdd\x56\xa4\x27\xe6\xa7\x18\x17\xe2\x11\xf7\xb1\x3f\xc3\xb0\xcc\xe7\x91\xed\x72\x96\x45\xd6\x3f\xd1\x61\x18\xf8\x00\x3c\xa7\x65\x48\x4a\xfb\x57\x84\x2d\xe0\x78\xed\x65\x6a\x5e\xc2\x0c\xae\xe3\x35\xfb\x88\xfc\xe7\x70\x4d\xe0\x67\xec\xb8\x0c\x6d\xc5\xcd\xb4\xa4\x3b\x01\x15\xeb\x97\xe7\x03\x5c\x54\x06\xd9\x05\xdd\xff\x0d\x00\x00\xff\xff\x98\xe6\x41\x14\xa1\x08\x00\x00")
var _nameServiceGeneratedClientGrpcClientGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x7c\x55\xdd\x8e\xdb\x36\x13\xbd\xb6\x9e\x62\x3e\x63\xf1\x41\x5a\x68\xa9\xfb\x14\xbe\x89\x93\x06\x29\x9a\xd4\x48\x16\xed\x45\x51\x14\x34\x45\xcb\x84\x65\x52\xa5\x68\xef\x1a\x82\xde\xbd\x33\xfc\xf1\x4a\xee\x6e\x82\x2c\x56\x1c\x1e\xce\xcf\x99\x39\xb3\x55\x05\x1b\x2e\x0e\xbc\x91\xd0\xd8\x4e\x40\x67\xcd\x59\xd5\xb2\x07\x0e\xcd\xb7\xcd\x1a\x44\xab\xa4\x76\xb0\x33\x16\xdc\x5e\xc2\x30\xb0\xef\xd2\x9e\x95\x90\xec\x2b\x3f\xca\x71\x84\x3e\x1e\xb3\x6e\xe2\x26\xcb\xd4\xb1\x33\xd6\x41\x9e\x2d\x96\x8d\x69\xb9\x6e\x98\xb1\x4d\xf5\x5c\x69\xe9\x2a\x61\xb4\x93\xcf\x6e\xe9\xef\x4c\xd3\x4a\x36\x81\xd0\xf3\xb7\x6f\xaa\xa3\x74\xbc\xe6\x8e\x7b\x88\x72\xfb\xd3\x96\x09\x73\xac\xba\x43\x53\x49\x6b\x8d\xed\x97\xd9\xfc\xa6\x31\x0f\x07\xe5\x2a\xfa\x91\xba\xee\x8c\xd2\x14\x98\x7c\x39\xcb\x75\xef\xb3\x7c\x03\x7f\x05\xc4\xa4\xb2\x05\xb2\xf5\xb8\x57\x3d\x44\x0e\xb2\xc5\x9e\xeb\xba\x95\x16\x96\x48\xcc\x67\x5f\xf2\x86\xbb\x3d\x3c\x20\x31\x55\xbc\xeb\x2b\xa2\x48\x5a\x8c\xda\x9f\xc5\xab\xc8\x46\x6a\x69\xb9\x93\x35\x62\xba\xad\x87\x6c\xde\xcf\x41\xcb\xac\xc8\x32\x0c\xff\x55\x3e\x81\x95\xee\x64\x35\xb6\x48\x27\xf6\x61\x8b\xe4\xcb\x1a\xb6\x97\x9b\xbe\x21\xd5\x5a\x0a\xa7\x8c\x66\xf0\xd9\x01\xa6\x8e\x5d\x24\x3f\x56\x62\x65\xba\x57\x5b\xd5\x2a\x77\x01\xb3\xf3\xed\x15\xbc\xa5\x6a\x9c\x81\x5a\xf1\xb6\xc4\x08\x35\xb4\x98\x98\x45\x7f\xa6\x97\x65\x00\xbd\xf8\xcc\x76\x27\x2d\x28\xa7\x9c\x8c\x70\x4f\x3c\xb1\xb5\x0f\xbd\x46\x43\x09\xa6\x23\x5c\x0f\x8c\x45\xf3\x6f\xde\x50\x40\x1e\xd9\x49\xe3\x54\x82\x6f\x5f\x01\x43\xb6\x38\x73\x8c\x27\x62\x09\xe8\x67\xa7\x1a\xe4\x9e\x46\xf0\xef\x12\x76\xf0\x6e\x05\xd8\x18\x9c\xb4\xe4\x1c\x9f\x2c\xf0\x35\x5d\xec\xf2\xff\x0b\x51\xe0\x59\xed\xc8\x21\xfc\x6f\x05\x5a\xb5\x1e\xb1\x08\xb4\xd1\x39\x06\xeb\xd9\x1f\x96\x77\x39\x7e\x97\xb0\x14\x5c\x6b\xe3\x80\x77\x5d\x7b\x89\x9e\x97\xe4\x68\xcc\xf0\x7f\xb6\x10\x93\xec\x7b\x8a\xf4\xe7\x5f\xb3\x19\x9a\x95\x47\xe1\x5e\xbb\x7d\x2f\xb1\x08\x99\x53\x32\x51\x03\xbf\xf3\xf6\x24\xfb\x47\xf3\x09\x7b\xf6\x25\x8e\x76\x2e\x04\xdb\x4b\x5e\xe3\xe8\x14\x45\x19\xc2\x0f\xc3\x03\x3c\xe1\x90\xc2\x9d\xfb\x48\xd1\xd9\x88\x79\x4d\xac\x38\xff\xa4\x47\xba\x42\x04\x8b\x92\x0e\x12\xa5\x70\x84\x0c\xa4\xdd\xa9\x04\x4a\x42\xc6\xb8\x7b\x53\xf7\x01\xe8\xc9\x1f\x86\x47\xf3\xab\x79\xc2\xb6\xdf\xa9\xa8\xf3\x8f\x51\x3b\x90\x44\xc4\x92\xc5\xbf\xf2\x04\x53\x98\xb7\x1f\xae\x60\x4e\x09\x4e\x4d\x60\x25\x0f\x6f\x89\x12\x5d\xc6\x6f\x94\x40\xaa\x69\x1c\x19\x1e\x26\xf9\x06\xe3\x72\x0a\x55\xb7\x46\x54\x1a\x26\x28\x4c\x2d\x89\xd9\x09\xe2\x9b\xfc\x07\x09\x77\x53\xdc\x07\xf9\x2a\xce\xeb\x43\x26\x60\xb7\xc5\x2c\x3e\x19\x4f\x32\x82\xd2\xf5\xe3\xa5\x4b\x09\x0d\x63\xc2\xce\x66\x05\x27\x3f\xda\x8b\x2b\x65\x79\xe1\x2d\xb1\x33\xc8\x68\xec\x66\xfc\x4a\x1f\x59\x1a\xd9\x50\x4d\x78\xdb\x0f\x04\x98\xf6\xf2\xb6\x91\xb4\x2e\xbc\xbb\xff\xf4\xe0\x1d\xe0\xbf\x1f\xf4\xa8\x7c\x89\xbd\x18\x4b\x52\x4a\x86\x59\x38\xac\x71\x26\x46\xe8\x9d\x3d\x09\x47\xaa\x8a\x73\x8a\x6a\x40\x9b\xd2\x0d\xe1\x71\xbb\x4c\xc5\x40\x4b\x87\x03\x2d\x0a\x7f\x72\x7b\xee\xe0\x68\x6a\xb5\x53\xb2\x0f\xfb\xe4\xba\xaa\x48\xe8\x3e\xda\xec\x3d\x3d\xcd\xef\xa7\x09\x14\x41\xbf\x59\x58\x3f\x6b\xf7\x9c\x64\xf4\x1d\x93\xcf\x0f\xf2\xe2\x17\x4e\xc8\xa8\x98\x3b\x1b\xae\xa4\x7a\xb7\x06\x5e\x73\xec\xf7\x85\x49\x22\xc4\xc9\x25\x97\xd9\x74\x83\x90\x2a\xc7\x18\xff\x47\x52\xf6\xb9\x24\x72\x8a\x1b\x05\xc4\x59\xfc\x99\x9c\xdc\xe4\x25\xdc\x73\xf2\xcb\xd6\xe1\x77\x09\xc7\x1a\xee\xd3\xdf\x3f\xf6\xe5\x43\x71\x8b\xf0\x69\x93\x7e\x3b\xae\xa6\x3d\x59\xa4\xdd\x79\x78\xd9\x9d\x3e\x31\xaf\x5a\xdc\x94\x67\x5c\xd4\xfe\x0e\xc3\x32\x5f\x47\x7e\x28\x58\x1e\xb3\xfe\x89\x2e\x83\xc0\x83\xe3\x15\x6d\x49\x62\xda\x1f\xd1\x6d\x09\x67\x3f\xd1\xa3\xdf\x97\x61\xfb\x06\xe8\x74\xff\xde\x63\xfe\x2b\xb8\x16\xf0\x0b\x4e\x5c\x8e\xb6\xf2\xc5\xb4\xa1\x37\xc1\x2b\xf6\xaf\x28\x92\xbb\xc8\x0c\x66\x17\x78\xff\x37\x00\x00\xff\xff\x4d\xae\x0e\xc1\xb5\x08\x00\x00")
func nameServiceGeneratedClientGrpcClientGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -134,7 +134,7 @@ func nameServiceGeneratedClientGrpcClientGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/generated/client/grpc/client.gotemplate", size: 2209, mode: os.FileMode(436), modTime: time.Unix(1477930115, 0)}
info := bindataFileInfo{name: "NAME-service/generated/client/grpc/client.gotemplate", size: 2229, mode: os.FileMode(436), modTime: time.Unix(1477951177, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -159,7 +159,7 @@ func nameServiceGeneratedClientHttpClientGotemplate() (*asset, error) {
return a, nil
}
var _nameServiceGeneratedEndpointsGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x55\x4d\x8f\xdb\x36\x10\x3d\x5b\xbf\x62\x6a\x04\xa8\x5d\x68\xa9\x7b\x81\x5c\x1a\xb4\xe9\x1e\x12\x04\x6d\xfe\x00\x4d\x8d\x25\x62\x29\x52\x21\x29\xaf\xb7\x82\xfe\x7b\x67\x48\x49\xb6\x61\xf7\x23\x0b\xac\x2d\x91\x33\x6f\xde\xbc\x37\xa4\x7b\xa9\x5e\x64\x83\x10\x4e\xaa\x28\xaa\x0a\xbe\xb6\x3a\xc0\x51\x1b\x04\xe5\x6c\x94\xda\x06\xe8\x30\xb6\xae\x0e\x10\x1d\x74\xf2\x05\x41\xdb\x5a\x9f\x74\x3d\x48\x03\x68\xeb\xde\x69\x1b\x29\xc5\xbb\x0e\x02\xfa\x93\x56\x18\x4a\x46\xf2\xf8\x6d\xc0\x10\x41\xda\x9a\x9e\x43\xef\x6c\x40\x88\x6f\x3d\x26\x24\x0e\xa5\xd7\xd6\xd1\xe2\x8a\x52\x82\x0c\xf0\x8a\xc6\xf0\x37\x5a\xe5\x6a\xf4\x81\x01\x18\xaf\xc6\xf9\xfd\xe8\xfc\x9c\x98\xd0\xca\xb4\x20\x29\xc9\x1d\xc1\x0d\x1e\xc2\xd0\xf7\xce\x47\xac\x21\x7a\x69\x03\x3f\x73\x39\x2d\x8d\xfe\x4b\x46\xed\x2c\xa3\x51\x4e\x27\x63\x10\xf0\x4c\x0c\x4d\x70\xd4\x95\x32\x43\x8d\x61\x65\x03\x9d\xae\x6b\x83\xaf\x92\xc8\x8b\xa2\xd0\x5d\x02\xda\x15\x9b\x6d\xe3\x8c\xb4\x8d\x70\xbe\xa9\xce\x95\xc5\x58\xb1\x54\x78\x8e\xdb\x82\x37\x75\x6c\x87\x83\x50\xae\xab\x1a\xf7\xf4\xa2\x63\xc5\xff\x0b\x28\x87\xb4\xd4\x90\x41\x0f\xdb\x71\x14\xcf\x09\xf5\x8b\x8c\x2d\x3c\x4d\x13\x54\xf3\x5e\xa8\x92\x3e\x7e\x5b\x6c\xfa\x43\x0a\xfc\xf2\xcb\x6d\xe8\xb6\xd8\x27\xbf\x7e\x5d\x1d\x50\xce\x18\x54\xf4\x30\x4b\x11\xdb\x2b\x65\xe9\x4d\x46\x0a\x21\x0c\xd2\x4d\x5a\x90\x75\xbd\xd8\xc5\x1a\xfc\x18\x18\xac\x43\x49\x7d\x93\x3b\x07\x84\x21\x90\x80\x64\x83\x84\x16\x4d\x4f\x74\x43\xf4\x83\x8a\x25\x6f\xcf\xa5\x1e\x57\xa2\x0f\x07\x92\xe1\x82\xb6\x0d\x0d\x52\x2f\xbd\xa4\x19\x42\x2f\x68\x91\xd7\x9f\xa9\x7c\x1e\x00\x5f\x82\xa6\xda\x5c\xec\x38\x98\x64\xe4\x71\xb0\x8a\x4d\x9a\x29\x5b\x64\x1f\x1d\x38\xa2\x20\x23\x82\xe3\x5c\x7a\x7e\x5a\x0a\x32\xe0\x41\x06\x4d\x56\xfe\x46\xe9\x78\x96\x5d\x6f\xb0\x84\x37\x37\x90\x83\x4d\x1b\xa9\x7e\xe0\x21\xba\x92\x8a\x09\xae\x85\x72\x9d\xde\xbb\x7a\xa0\xd1\x65\x38\x8a\x6d\x63\xec\xc5\xef\xd9\x8c\x12\x5e\xc9\x53\x40\xa9\xda\xf9\x2c\xc0\x6e\xa9\xbe\xa7\x3d\x4f\x0c\x87\x3e\x83\x86\x1e\x95\x3e\x6a\x45\x45\x63\x2b\x60\xf7\x9c\xf8\xd1\x91\x22\xfc\x83\x3c\x98\x37\x8a\xe9\x74\x88\xf9\x1c\xd1\x4c\x07\xdd\x58\x4e\xd5\xf6\xe4\x5e\x30\x49\xf9\x67\xb6\x65\x3d\x77\x89\x22\xde\x9a\x9d\xcd\x60\x88\x45\x49\xb1\xbf\x56\x57\x19\x8d\x36\xde\xaa\x7b\x65\xdc\xe5\x08\x13\x23\x9a\xde\x0c\x47\x7d\xfc\x8b\x8d\x7c\xd8\xb2\x56\x9a\x15\xee\x30\x8f\xd5\x85\x2f\x65\xa0\x3f\x4a\x1e\xa8\xc7\x4e\x30\xd8\x5a\xec\xf1\x35\x32\x70\xb1\xcb\xb9\xad\x92\x0f\x9f\xf1\xf5\xc3\xdc\x0f\x4d\xf0\x41\xdb\xa4\x53\x97\x94\x4d\x2c\xaf\xbc\x2d\xe7\xfb\x26\x0e\xde\x52\xf7\xdc\x34\x73\x54\xd4\x29\xcd\x70\x9a\xe7\x99\xaf\x28\x52\x47\x77\x9a\x8e\xc5\x38\x52\x7d\xba\x13\xdf\x69\xf8\xf9\x3d\x88\x25\xfe\x53\xf6\x63\x9a\x8a\xcd\x38\xbe\xd3\xe2\x23\xc6\xcf\x34\xd8\xd3\xb4\x40\x00\xfd\x2d\xad\x88\x65\x91\xd0\x9e\x78\x95\xd2\xa6\xdb\x13\xfb\xdf\x75\x78\x44\x69\xd6\x2e\x29\x7b\xb8\xad\xbc\x53\xf1\x0c\xf3\xed\x23\x3e\xe4\xef\x92\xa7\xe2\xa7\xfe\x20\xc6\xf1\xa3\xe3\x30\xc2\x17\x7f\xe4\xcb\xf8\x2b\x75\x7c\xc9\xde\xc3\xee\x3e\x2e\x5f\xd4\xb7\x81\x25\xa0\xf7\xce\x53\xf5\x62\xb3\x5c\xe5\x69\x8d\x79\xa3\x78\xac\x06\x73\x63\x2e\xfb\x62\xa3\x8f\x29\xf8\x87\xf7\x60\xb5\x61\x90\xcd\x6c\x10\xbd\x26\x9c\x62\x33\x15\xcb\xda\x52\x40\xfc\x4f\x72\xfb\x92\x61\x48\xdc\x71\xcc\x32\xb3\xc8\x9f\xf8\x80\x7d\xaf\xd2\x9c\xf4\x0f\xbd\x04\x98\x6f\xe6\x25\x77\x7f\xef\x74\x56\x27\xf5\xc0\x70\x8f\xbd\x59\x7e\x15\xd7\xc3\x32\xb2\x0d\xeb\xef\xe3\xd5\x72\x16\xf8\x22\x3c\x61\x7f\x63\xf6\x33\xc2\x23\x79\x1e\x79\x4c\x89\xa7\xd5\xab\x20\xee\xe7\x27\x71\xe2\xb0\x7b\x97\xee\x6d\x62\x9f\x96\xd5\x53\x16\x7e\x33\x5d\x69\xff\x77\x00\x00\x00\xff\xff\xb3\x34\xc1\x62\x4f\x08\x00\x00")
var _nameServiceGeneratedEndpointsGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x55\xdb\x6e\xe3\x36\x10\x7d\xb6\xbe\x62\x6a\x2c\x50\xbb\x50\xa8\xf7\x02\xfb\xd2\x45\x2f\x79\xd8\xc5\xa2\xdd\x1f\xa0\xa9\xb1\x44\x84\x22\x15\x92\x72\x92\x0a\xfa\xf7\xce\x90\x92\xac\xd4\x46\x2f\x01\x62\x4b\xe4\xcc\x99\x33\xe7\x0c\xe9\x5e\xaa\x27\xd9\x20\x84\x8b\x2a\x8a\xaa\x82\x6f\xad\x0e\x70\xd6\x06\x41\x39\x1b\xa5\xb6\x01\x3a\x8c\xad\xab\x03\x44\x07\x9d\x7c\x42\xd0\xb6\xd6\x17\x5d\x0f\xd2\x00\xda\xba\x77\xda\x46\x4a\xf1\xae\x83\x80\xfe\xa2\x15\x86\x92\x91\x3c\x3e\x0f\x18\x22\x48\x5b\xd3\x73\xe8\x9d\x0d\x08\xf1\xad\xc7\x84\xc4\xa1\xf4\xda\x3a\x5a\x5c\x51\x4a\x90\x01\x5e\xd0\x18\xfe\x46\xab\x5c\x8d\x3e\x30\x00\xe3\xd5\x38\xbf\x9f\x9d\x9f\x13\x13\x5a\x99\x16\x24\x25\xb9\x33\xb8\xc1\x43\x18\xfa\xde\xf9\x88\x35\x44\x2f\x6d\xe0\x67\x2e\xa7\xa5\xd1\x7f\xca\xa8\x9d\x65\x34\xca\xe9\x64\x0c\x02\x1e\x89\xa1\x09\x8e\xba\x52\x66\xa8\x31\xac\x6c\xa0\xd3\x75\x6d\xf0\x45\x12\x79\x51\x14\xba\x4b\x40\x87\x62\xb7\x6f\x9c\x91\xb6\x11\xce\x37\xd5\x6b\x65\x31\x56\x2c\x15\xbe\xc6\x7d\xc1\x9b\x3a\xb6\xc3\x49\x28\xd7\x55\x8d\x7b\x78\xd2\xb1\xe2\xff\x05\x94\x43\x5a\x6a\xc8\xa0\x87\xfd\x38\x8a\xc7\x84\xfa\x55\xc6\x16\x1e\xa6\x09\xaa\x79\x2f\x54\x49\x1f\xbf\x2f\x76\xfd\x29\x05\x7e\xfd\xe9\x7d\xe8\xbe\x38\x26\xbf\x7e\x5e\x1d\x50\xce\x18\x54\xf4\x30\x4b\x11\xdb\x8d\xb2\xf4\x26\x23\x85\x10\x06\xe9\x26\x2d\xc8\xba\x5e\xec\x62\x0d\xbe\x0f\x0c\xd6\xa1\xa4\xbe\xc9\x9d\x13\xc2\x10\x48\x40\xb2\x41\x42\x8b\xa6\x27\xba\x21\xfa\x41\xc5\x92\xb7\xe7\x52\xf7\x2b\xd1\x87\x03\xc9\x70\x41\xdb\x86\x06\xa9\x97\x5e\xd2\x0c\xa1\x17\xb4\xc8\xeb\x8f\x54\x3e\x0f\x80\x2f\x41\x53\x6d\x2e\x76\x1e\x4c\x32\xf2\x3c\x58\xc5\x26\xcd\x94\x2d\xb2\x8f\x0e\x1c\x51\x90\x11\xc1\x71\x2e\x3d\x3f\x2c\x05\x19\xf0\x24\x83\x26\x2b\x7f\xa1\x74\x7c\x95\x5d\x6f\xb0\x84\x37\x37\x90\x83\x4d\x1b\xa9\x7e\xe0\x21\xda\x48\xc5\x04\xd7\x42\xb9\x4e\xef\x5d\x3d\xd0\xe8\x32\x1c\xc5\xb6\x31\xf6\xe2\xb7\x6c\x46\x09\x2f\xe4\x29\xa0\x54\xed\x7c\x16\xe0\xb0\x54\x3f\xd2\x9e\x27\x86\x43\x9f\x41\x43\x8f\x4a\x9f\xb5\xa2\xa2\xb1\x15\x70\x78\x4c\xfc\xe8\x48\x11\xfe\x49\x9e\xcc\x1b\xc5\x74\x3a\xc4\x7c\x8e\x68\xa6\x83\x6e\x2c\xa7\x6a\x7b\x71\x4f\x98\xa4\xfc\x23\xdb\xb2\x9e\xbb\x44\x11\xdf\x9b\x9d\xcd\x60\x88\x45\x49\x71\xdc\xaa\xab\x8c\x46\x1b\xdf\xab\xbb\x31\xee\x7a\x84\x89\x11\x4d\x6f\x86\xa3\x3e\xfe\xc1\x46\x3e\x6c\x59\x2b\xcd\x0a\x77\x98\xc7\xea\xca\x97\x32\xd0\x9f\x25\x0f\xd4\x7d\x27\x18\x6c\x2d\x76\xff\x1a\x19\xb8\xd8\xf5\xdc\x56\xc9\x87\x2f\xf8\xf2\x69\xee\x87\x26\xf8\xa4\x6d\xd2\xa9\x4b\xca\x26\x96\x1b\x6f\xcb\xf9\xbe\x89\x83\xb7\xd4\x3d\x37\xcd\x1c\x15\x75\x4a\x33\x9c\xe6\x79\xe6\x2b\x8a\xd4\xd1\x8d\xa6\x63\x31\x8e\x54\x9f\xee\xc4\x0f\x1a\x7e\xfc\x08\x62\x89\xff\x9c\xfd\x98\xa6\x62\x37\x8e\x1f\xb4\xf8\x42\x53\x3d\x4d\x4b\x3e\xd0\xdf\xd2\x87\x58\x16\x09\xea\x81\x57\x29\x67\x7a\x7f\x5c\xff\xbd\x08\xcf\x27\x0d\xda\x35\xe5\x08\x9b\xb2\x07\x15\x5f\x61\xbe\x77\xc4\xa7\xfc\x5d\xf2\x3c\xfc\xd0\x9f\xc4\x38\xfe\xea\x38\x8c\xc0\xc5\xef\xf9\x1a\xfe\x46\xbd\xce\xa9\x47\x38\xdc\x06\xe5\xfb\x79\x13\x55\x02\x7a\xef\x3c\x15\x2d\x76\xcb\xf5\x9d\xd6\x98\x2e\x8a\x3b\x0a\x30\x25\xa6\x70\x2c\x76\xfa\x9c\x22\xbf\xfb\x08\x56\x1b\x46\xd8\xcd\x8e\xd0\x6b\x02\x29\x76\x53\xb1\xac\x2d\xe8\xe2\xbf\xd0\x3a\x96\x8c\x41\x6a\x8e\x63\xd6\x95\x55\xfd\xcc\xc7\xe9\xff\x4a\xcb\x49\xf7\xba\x08\x30\x5f\xc2\x4b\xe2\xf1\xd6\xd7\x2c\x4a\x62\xcf\x58\xf7\xcd\x58\x7e\x00\xd7\x73\x31\xb2\xf4\xeb\x4f\xe1\x66\x39\xeb\x7a\xd5\x9b\xb0\x9f\x99\xfa\x8c\x70\x4f\x98\x1b\x53\x29\xeb\xb2\xfa\x13\xc4\xdf\x46\x25\xb1\xe1\x98\x5b\x67\x6e\xad\x61\x6f\x96\xd5\x4b\xd6\x7b\x37\x6d\x24\xff\x2b\x00\x00\xff\xff\xb2\x0c\xd8\x6b\x34\x08\x00\x00")
func nameServiceGeneratedEndpointsGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -174,12 +174,12 @@ func nameServiceGeneratedEndpointsGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/generated/endpoints.gotemplate", size: 2127, mode: os.FileMode(436), modTime: time.Unix(1477688393, 0)}
info := bindataFileInfo{name: "NAME-service/generated/endpoints.gotemplate", size: 2100, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServiceGeneratedTransport_grpcGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x57\xdf\x6f\xdb\x36\x10\x7e\xb6\xfe\x8a\x9b\x51\x0c\x56\x60\xcb\x7b\x2e\x90\x97\xa6\x5d\x52\x6c\xe9\x82\x2e\xd8\x1e\x8a\xa2\xa0\xa5\xb3\x4c\x58\x12\x15\x92\x76\x92\x09\xfe\xdf\x77\x47\x4a\xb6\xec\xc8\x96\x53\xe4\x21\x70\x24\xde\x8f\xef\xbe\xef\x8e\xa4\x4a\x11\x2f\x45\x8a\x60\xd6\x71\x10\x4c\xa7\x70\xbf\x90\x06\xe6\x32\x43\x28\xb5\x5a\xcb\x04\x0d\x18\xd4\x6b\xd4\x13\x43\x0f\x30\x93\x45\x22\x8b\x94\x4c\x94\x06\xbb\x40\x48\xbf\xde\x5d\x81\xd5\xa2\x30\xa5\xd2\x36\xe2\x10\x9f\x2d\xac\xac\xcc\xe4\x7f\xe4\xcb\x26\xdb\xd5\x69\xaa\xcb\x38\xfa\xdb\x85\x8b\x82\x40\xe6\xfc\x12\x46\xc1\x60\x58\xa0\x9d\x2e\xac\x2d\x87\x01\x3d\xa4\x2a\x13\x45\x1a\x29\x9d\x4e\x9f\xa6\xbc\x12\xab\xc2\xe2\x93\x1d\xba\x35\x95\x66\x18\xb5\x4c\x38\xe6\x34\x47\x2b\x12\x61\x05\xfb\xf3\x8b\x6d\x4a\x18\xa6\xd2\x2e\x56\xb3\x28\x56\xf9\x34\x55\x93\xa5\xb4\x53\xfe\xdb\xc7\xc4\x6e\x4d\xed\x0c\x4f\xc6\x18\x0c\xca\x19\x0c\xab\x2a\xba\xfb\xf0\xd9\xe1\xbc\x13\x76\x01\x93\xcd\x66\x18\x84\x81\x63\xea\x56\x2c\xf1\x9a\xaa\xf7\xf5\x40\x4e\x8f\x06\x04\xb1\x65\x41\xcd\x01\x8b\xa4\x54\xb2\xb0\xf4\x6a\x2d\x64\x26\x66\xc4\xa8\xe0\x75\x47\x58\x55\x5d\xab\x2f\x22\x47\x88\xea\x74\xd1\x35\x5a\x7e\xb1\xd9\x34\xf4\xcc\x57\x45\x7c\x90\x63\x14\xdb\x27\xa8\xc9\x88\xae\xfc\xef\xb8\x95\xe9\x53\xf3\x5f\x08\xe5\x2c\xea\xcd\x01\x55\x30\xf0\xda\xfe\x55\x5a\xa9\x0a\x03\xef\x2f\xe1\xdb\xf7\x3d\xfe\x6a\xb5\xbc\x01\xd9\x0f\xa0\x6b\xf9\x03\x52\x3b\xe0\xa8\x51\xe1\x5e\xd5\xe0\xc2\x71\x30\xd8\x04\x03\x8d\x76\xa5\x0b\xf8\x95\x5d\xbd\x43\xe5\xf8\xae\x2a\xb8\x57\x7f\xaa\x47\x82\x72\x88\x11\x36\xe4\x57\x55\x94\x87\x7a\xf3\x9d\x64\x64\x5b\x93\x5b\xb4\x0b\x95\x18\xb6\x20\x93\x26\xc2\x3b\xb9\xab\xef\xfd\x01\xca\x2f\xf8\x58\x33\x48\x2e\x03\x62\x71\xcc\xbf\x5b\xe2\x88\xaa\xb6\x77\x43\xa3\x33\xfa\x88\xb1\x4a\x9c\x06\xfb\x46\x5f\xf1\x61\x85\xc6\xdb\x7c\x2a\x8e\xd9\x50\xfa\xc2\xa0\x33\xda\x63\x3a\x8a\x22\x7e\xc9\xfc\x54\xd5\x84\x25\xe4\x6a\x36\xc1\xc6\x75\xd6\x8e\x27\xa0\x19\xc9\x30\x47\x56\x97\x47\xa9\x5f\x53\xc2\x8d\x7a\x2e\xa8\x81\xed\x73\x89\xed\x50\xc6\xea\x55\x6c\x49\xf4\x7e\x5a\xbb\x59\x05\x38\xa0\xf5\x46\x14\x49\x86\x3a\xd8\x95\xe0\xf1\xd7\x91\xdc\x1e\xd1\x02\x60\xd5\xae\x9c\x57\x55\xd2\x0b\xd8\xcd\xca\xc8\xc0\xc5\x2e\x5b\xb8\xcb\xd0\xae\xa1\x7b\x84\x34\x3e\xc0\x45\x7b\x64\xc8\xa5\x16\xf8\x9e\x58\xdc\xb9\x87\x30\x7a\x69\xe7\x45\xde\x37\xa4\xb1\xd4\x5a\x31\x8a\x60\xf0\x83\x13\x94\xee\x0d\xe3\xe7\x76\xeb\xa2\xd7\xcf\x12\x77\x11\x83\x74\xa0\xc2\x60\x20\xe7\xce\xef\x97\x4b\x28\x64\xc6\xd1\x9a\x69\xa2\x47\x17\xb2\x3d\x61\x94\x26\x3a\x13\x60\x38\xe6\x08\x24\x58\x55\x79\xe9\x58\xb8\x9a\x79\xdf\xf3\xfd\xb4\x93\x47\xcf\x78\x80\xe4\x2d\xef\xe0\x00\xf0\x3e\xb5\xc5\xef\x2c\x9d\x5d\x08\xcb\xaa\x50\x72\xde\x30\xdd\x0c\xf8\x6d\xb2\xb3\x0f\x75\x1d\x9c\x1a\x4a\xc0\x8a\x06\x6b\x92\xa8\x5c\xc8\xa2\xc7\x3e\x82\x3b\x2d\x73\xa1\x65\xf6\xcc\x5e\xf3\x55\x46\x3d\xe6\x76\xec\xd6\x8e\xdb\x53\xd0\xe8\xc7\xcb\xee\xe1\xa2\x68\x79\xd7\xb0\x15\xf7\x49\xeb\xa9\xdd\x0c\xdc\x6a\xc4\x66\xed\xd3\xa5\x56\x57\xdb\xb5\x14\x7e\x78\x21\x1c\xd3\x75\x95\x49\x9e\xaa\x37\x51\xce\xb7\xcb\x49\xe9\xbc\xc9\xcf\x69\x57\x12\xfd\xe7\x2b\xe7\x33\x1d\x93\x2e\x76\x65\xf7\x4a\xe7\x83\x1c\xd7\x8e\x21\x9d\xa9\x1e\x9b\x6e\xf5\xa3\x87\xb3\xe7\xad\x3d\xa4\xd9\xf3\x89\xe9\xf3\xa7\xc9\x59\x1a\xf6\x1d\x3c\x9d\x1a\x7a\xa7\x3e\x0d\x5f\x21\x8e\x57\xb3\x57\xf4\xb3\xc6\xaf\xaf\xa2\x2e\x0d\xb7\x38\xce\x94\xd0\x94\xcc\xe8\xb6\xb5\x7e\x42\x40\x53\x9e\x1a\xc2\x37\x11\xf0\xf8\xf6\xd9\xe8\x77\x72\xfb\x3c\x7f\x57\x3c\x47\xbd\x93\xdb\xe7\xde\x0c\xf6\x14\xd4\x2d\x5f\x5d\xeb\x2b\xb6\xcf\x06\xd2\x5b\x6c\x9f\xc4\xd6\x0d\x66\x25\x6a\x13\xf8\x1a\x5e\x5c\x63\xbb\x2f\x0d\x79\x02\x17\x8d\x69\x74\xfb\x31\x3c\xb4\x60\xb8\x7c\x03\x5a\x8e\x61\xed\x30\xbb\x6e\xb8\x20\x37\x3e\xc5\xe9\x5c\x5f\xb7\x4f\x75\xff\xfd\x81\xb0\xc4\x67\xa7\x7a\x92\x60\x02\x33\x45\xdf\x1c\x44\x72\x93\x86\x6f\x54\x39\x69\x3d\x5a\x86\xf0\xb8\x90\xf1\xc2\x99\x66\x19\x64\xac\x5a\x1d\x85\x2e\x65\xee\xae\xc8\xdf\x53\xd1\x95\x28\x54\x21\x63\x91\xdd\xa0\x48\x50\xff\x41\xd1\xe9\xe3\xc4\xd6\x89\x8c\xf2\xbd\x23\xa9\x7d\x44\x01\x33\x6c\x42\xc4\x31\x1a\x43\x00\x28\x37\xd2\xf7\x13\x75\x84\xcf\x5c\x5f\x9f\xe1\x72\x5b\xec\xbf\xb4\xfc\x8f\xc8\x56\xe8\x2f\x2d\x5c\xec\xb7\xdf\xbe\x87\xbd\x86\x47\xd0\x51\x65\xbb\x08\xee\x4a\xbc\xd5\x8e\xdc\x48\xb6\xff\x03\x00\x00\xff\xff\xba\xba\x12\xdf\xb0\x0e\x00\x00")
var _nameServiceGeneratedTransport_grpcGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xa4\x57\xdf\x6f\xdb\x36\x10\x7e\xb6\xfe\x8a\x9b\x51\x0c\x56\x10\xcb\x7b\x2e\x90\x97\xa6\x5d\x53\x6c\xe9\x82\x2e\xd8\x1e\x8a\xa2\xa0\xa5\xb3\x4c\x58\x12\x15\x92\x76\x92\x09\xfe\xdf\x77\x47\x4a\xb2\xfc\x23\xb2\xda\x3c\x04\x0e\xc5\xfb\xf1\xdd\xf7\xdd\x51\x54\x29\xe2\x95\x48\x11\xcc\x26\x0e\x82\xd9\x0c\xee\x97\xd2\xc0\x42\x66\x08\xa5\x56\x1b\x99\xa0\x01\x83\x7a\x83\x7a\x6a\x68\x01\x73\x59\x24\xb2\x48\xc9\x44\x69\xb0\x4b\x84\xf4\xcb\xdd\x35\x58\x2d\x0a\x53\x2a\x6d\x23\x0e\xf1\xc9\xc2\xda\xca\x4c\xfe\x47\xbe\x6c\xd2\xee\xce\x52\x5d\xc6\xd1\xdf\x2e\x5c\x14\x04\x32\xe7\x87\x30\x09\x46\xe3\x02\xed\x6c\x69\x6d\x39\x0e\x68\x91\xaa\x4c\x14\x69\xa4\x74\x3a\x7b\x9a\xf1\x4e\xac\x0a\x8b\x4f\x76\xec\xf6\x54\x9a\x61\xd4\x31\xe1\x98\xb3\x1c\xad\x48\x84\x15\xec\xcf\x0f\xda\x94\x30\x4e\xa5\x5d\xae\xe7\x51\xac\xf2\x59\xaa\xa6\x2b\x69\x67\xfc\xb7\x8f\x89\xdd\x9a\xda\x19\x9e\x8c\x31\x18\x95\x73\x18\x57\x55\x74\xf7\xee\x93\xc3\x79\x27\xec\x12\xa6\xdb\xed\x38\x08\x03\xc7\xd4\xad\x58\xe1\x47\xaa\xde\xd7\x03\x39\x2d\x0d\x08\x62\xcb\x82\x5a\x00\x16\x49\xa9\x64\x61\xe9\xd1\x46\xc8\x4c\xcc\x89\x51\xc1\xfb\x8e\xb0\xaa\xfa\xa8\x3e\x8b\x1c\x21\xaa\xd3\x45\xbc\xda\x6e\x1b\x6e\x16\xeb\x22\x3e\x48\x30\x89\xed\x13\xd4\x4c\x44\xd7\xfe\xf7\xb2\x93\xe6\x43\xf3\x5f\x08\xe5\x3c\xea\x4f\x00\x55\x30\xf2\xaa\xfe\x55\x5a\xa9\x0a\x03\x6f\xaf\xe0\xeb\xb7\x3d\xe6\x6a\x9d\xbc\x01\xd9\x8f\xe0\xd4\xf6\x3b\xa4\x46\xc0\x49\xc3\xff\xbd\xaa\x91\x85\x97\xc1\x68\x1b\x8c\x34\xda\xb5\x2e\xe0\x57\x76\xf5\x0e\x95\x63\xba\xaa\xe0\x5e\xfd\xa9\x1e\x09\xca\x1e\x40\xd8\x92\x53\x55\x51\x12\x6a\xc9\x37\x92\x61\xb5\xfb\xb7\x68\x97\x2a\x31\x6c\x41\x26\x8d\xfb\x1b\x59\x57\xf6\xf6\x00\xdf\x67\x7c\xac\x89\x23\xfb\x11\x91\x77\xc9\xbf\x2d\x5f\xc4\x50\xeb\xda\x50\xe7\x2c\xde\x63\xac\x12\xc7\x7b\xc7\xe2\x0b\x3e\xac\xd1\x78\x83\x0f\xc5\x49\x03\xca\x5a\x18\x74\x16\x7b\xd4\x46\x51\xc4\x0f\x99\x90\xaa\x9a\xb2\x60\x5c\xc1\x36\xd8\xba\x26\xda\x11\x03\x34\x0e\x19\xe6\xc8\x5a\xf2\xd4\x9c\x51\x90\xe0\xa2\x5e\x08\x6a\x54\xfb\x5c\x62\x37\x8e\xb1\x7a\x1d\x5b\x92\xf8\x3c\x8f\x27\x68\x04\x38\xe0\xf1\x46\x14\x49\x86\x3a\xd8\x81\xf7\xc8\xeb\x30\xee\x20\xe8\x64\xb7\x6a\x57\xc8\xf0\x1a\xce\x42\x75\x03\x31\x31\x70\xb1\x4b\x15\xee\xc2\xb7\xe8\x4f\x0f\x89\xc6\x07\xb8\xe8\x0e\x05\xd9\xd7\x8a\xde\x13\x79\xb5\x6f\x08\x93\x63\x23\xaf\x6a\xc7\x8a\x46\x4e\x6b\xc5\xc9\x83\xd1\x77\x0e\x5d\xba\x27\x0c\x9b\x7b\xea\x88\x4f\x3f\x27\xdc\x2d\x8c\xcd\x61\x09\x83\x91\x5c\x38\xa7\x5f\xae\xa0\x90\x19\x87\x6a\x26\x85\x96\x2e\x5e\x77\x7a\x28\x47\x34\x04\x5a\x78\xc9\xee\x24\x4f\x55\x79\xa1\x58\xa6\x9a\x6a\xdf\xd5\xe7\x79\x26\x8f\xbe\x01\x00\xc9\x47\xd8\xc1\x81\xee\x1d\x6a\x8b\xdf\x59\x28\xbb\x14\x96\x65\xa0\xcc\x7c\x00\xba\x46\xf7\xc7\xde\x71\xbf\xe9\x3a\x32\x35\x8e\x80\x35\x8d\xce\x34\x51\xb9\x90\x45\x9f\x71\x04\x77\x5a\xe6\x42\xcb\xec\x99\x5d\x16\xeb\x8c\x7a\xc9\x9d\xbd\x9d\xe3\xb3\xaf\x8e\xc9\xf7\xe3\x2e\xe1\x5a\x68\x7b\xd7\x95\x15\xb7\x44\x67\xd5\x95\x9e\x5b\x8a\x18\xac\x7d\x4e\xc9\x73\xd4\x5e\x1d\x3d\x1f\x8e\x94\x62\x8a\xae\x33\xc9\x43\xf3\x7a\xa9\x7c\x67\xf4\x6a\xe5\x4d\x7e\x42\xac\x92\x28\x1f\x28\x95\xcf\xf1\x92\x56\xb1\xab\xb6\x5f\x2b\x1f\xe1\x65\xb1\x18\xcc\x40\xb9\xd8\xb4\x15\x8c\x16\xc3\x26\xaa\x3b\x83\xd9\x73\xcf\x7c\xf9\x97\xc2\x20\xd1\x7a\xdf\x1f\x27\x45\xf3\x1e\xe7\x44\x1b\x2a\x88\x97\xaf\x5f\xe2\x41\x03\xd6\x5b\xc8\x29\xd1\x5a\x04\x03\x35\x33\x25\xb3\xd8\x36\xd2\x8f\x2a\x66\xca\xbe\x31\x7b\xbd\x62\x2f\x9f\x88\x8d\x60\xbd\x27\xe2\xc0\xb3\xee\xac\x5c\xbd\x27\xe2\xde\x94\xf5\xd5\x71\x5a\xaf\xba\xc4\x1f\x38\x11\x1b\x3c\xaf\x3e\x11\x89\xa1\x1b\xcc\x4a\xd4\x26\xf0\xe8\x8f\xee\x98\xa7\x5f\xf6\x79\x02\x17\x8d\x69\x74\xfb\x3e\x3c\xb4\x60\xac\x7c\x67\x59\x5d\xc2\xc6\x01\x76\xf2\x5f\x90\x1b\xbf\x86\xe9\xc5\xbc\xe9\xbe\x96\xfd\x67\x01\xc2\x0a\x9f\x9d\xd2\x49\x82\x09\xcc\x15\x7d\x0a\x10\xbd\x4d\x1a\xbe\x03\xe5\xa4\xef\x64\x15\xc2\xe3\x52\xc6\x4b\x67\x9a\x65\x90\xb1\x58\x75\x14\xba\x46\xb9\x7b\x1d\x7f\xe6\x44\xd7\xa2\x50\x85\x8c\x45\x76\x83\x22\x41\xfd\x07\x45\xa7\x6f\x06\x5b\x27\x32\xca\xf7\x8b\xa4\x96\x11\x05\xcc\xb1\x09\x11\xc7\x68\x0c\x01\xa0\xdc\x48\x9f\x35\xd4\x08\x3e\x73\x7d\xc3\x85\xab\xb6\xd8\x7f\x69\xfb\x1f\x91\xad\xd1\xdf\x3a\xb8\xd8\xaf\xbf\x7d\x0b\xcf\x1a\xbe\x80\x8e\x2a\xdb\x45\x70\xd7\xd7\x56\x3b\x72\x23\xd9\xfe\x0f\x00\x00\xff\xff\x09\x00\x51\xc2\x47\x0e\x00\x00")
func nameServiceGeneratedTransport_grpcGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -194,7 +194,7 @@ func nameServiceGeneratedTransport_grpcGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/generated/transport_grpc.gotemplate", size: 3760, mode: os.FileMode(436), modTime: time.Unix(1477930115, 0)}
info := bindataFileInfo{name: "NAME-service/generated/transport_grpc.gotemplate", size: 3655, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -219,7 +219,7 @@ func nameServiceGeneratedTransport_httpGotemplate() (*asset, error) {
return a, nil
}
var _nameServiceHandlersClientClient_handlerGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x92\xcf\x4e\x1b\x31\x10\xc6\xcf\xf1\x53\x8c\x10\x42\xd9\x08\x36\x77\xa4\x1e\xa0\x82\x88\x43\x2b\x44\xfb\x02\xce\xee\x64\x63\xd5\xff\x6a\x7b\x5b\x2a\xcb\xef\xde\xb1\xd7\x21\x0d\x41\x6d\x54\x71\x59\xcd\xda\xdf\x7c\x33\xf3\x1b\xc7\x08\x3f\x45\xd8\xc2\x79\x40\x65\x25\x0f\x78\xf7\x8c\xdd\x18\x8c\x83\xeb\x0f\xd0\xa6\xc4\x2c\xef\xbe\xf1\x01\xa1\x93\x02\x75\xd8\x72\xdd\x4b\x74\x8c\x09\x65\x8d\x0b\x30\x67\x33\xbb\x86\xb3\x18\x8f\xf2\xdb\xc7\xdb\x87\xa2\x79\xe4\x64\x7f\x95\xd2\x19\x6b\x18\x63\x31\x3a\xae\xc9\xee\x5c\xe4\x02\xc7\x59\x5f\xd0\xfd\x10\x1d\xb6\x9f\x30\x6c\x4d\xef\xa9\x81\xe5\x12\xc8\x5e\xb4\x2b\x0c\x9f\xb9\xc2\x94\x80\x6a\x4b\x54\xd4\x8d\x87\x9d\x9c\x6d\x46\xdd\xbd\xd2\xcd\x63\x2c\xa3\x09\xdd\xe3\xf3\x1b\xa5\x3e\x96\x89\x6e\xdc\xe0\x4b\xb5\x1c\xc0\x9f\xf9\x31\xae\x4c\x8e\xa0\xbd\x27\xf3\x20\x8c\xce\x92\x7c\x8e\xba\x4f\xa9\x81\xf9\xc2\xae\xdb\x17\x15\xa5\x3e\xe1\xf7\x11\x7d\xf8\xfa\xcb\xe2\xde\xe6\x12\xd0\x39\xe3\x9a\x48\xb3\x2f\x17\xf4\xb9\xaa\xc4\x15\x15\xcd\x10\xfe\xaf\xbf\x8c\x94\xcd\xb2\x5b\x05\x6a\xb9\xe3\xaa\x40\xcd\xc6\x6d\x91\x17\x4d\x11\x89\x0d\x68\x13\xaa\xaa\x7d\xf0\xb7\xdc\x63\xee\xb3\x4a\x08\xf2\x4d\xdf\x43\x37\xfa\x60\x14\xac\x47\x2f\x34\x7a\x0f\xd2\x0c\xa2\x83\x0d\xbd\x06\xa1\x03\x3a\xeb\x30\x08\x3d\x64\xce\x93\xcf\xbd\xe4\x03\x15\xa2\x21\x6b\x19\x22\xb3\x6f\x6c\xf7\x53\x63\x8a\x16\xcb\x7c\xe7\x26\x4c\xb9\xd7\x53\x00\xc6\x77\x67\x76\x2a\x31\x7a\xec\x30\x2f\x9f\x37\xd9\x35\x07\xe7\x4f\x68\x91\x5a\xe9\x9b\xc3\xe3\x3b\x3d\xaa\xa6\x9a\xee\x06\x9d\x6e\xea\x6b\xbe\x86\x8b\xd7\x37\x2b\x73\x08\x55\x7a\x84\xbf\x5b\xfc\xcb\x61\xbf\x96\xe3\xa5\xcc\xca\x4a\xc2\xe8\x34\x5c\xd4\xd5\x5c\x82\x16\x92\x65\xd1\x24\x79\x09\x7e\x07\x00\x00\xff\xff\xec\x76\x11\x73\x2f\x04\x00\x00")
var _nameServiceHandlersClientClient_handlerGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x52\x4d\x6f\x13\x31\x10\x3d\xc7\xbf\x62\x54\x55\x55\x36\x6a\x9d\x7b\x25\x0e\x2d\x6a\xab\x1e\x40\x55\xe1\x0f\x38\xbb\x93\x8d\x85\xbf\xb0\xbd\x50\x64\xf9\xbf\x33\x76\x9c\x94\x90\x8a\x20\xc4\x65\x35\x6b\xbf\x79\xef\xcd\x1b\xa7\x04\xdf\x65\xdc\xc0\x79\x44\xed\x94\x88\x78\xf7\x82\xfd\x14\xad\x87\xeb\x77\xc0\x73\x66\x4e\xf4\x5f\xc4\x88\xd0\x2b\x89\x26\x6e\x84\x19\x14\x7a\xc6\xa4\x76\xd6\x47\x98\xb3\x99\x5b\xc1\x59\x4a\x47\xfd\xfc\xe9\xf6\xb1\x62\x9e\x04\xd1\x5f\xe5\x7c\xc6\x3a\xc6\x58\x4a\x5e\x18\xa2\x3b\x97\x45\xe0\xb8\xeb\x13\xfa\x6f\xb2\x47\xfe\x01\xe3\xc6\x0e\x81\x0c\x2c\x97\x40\xf4\x92\x7f\x14\x1a\x73\x06\x12\x56\xa8\xc9\x4a\x80\x1d\x96\xad\x27\xd3\xff\x0a\x9a\xa7\x54\x87\x92\x66\xc0\x97\x37\x44\xde\xd7\x59\x6e\xfc\x18\xaa\x4e\x29\x60\xdf\x9c\xd2\x83\x2d\x15\xf0\x7b\xa2\x8d\xd2\x9a\x72\x5f\xce\xd1\x0c\x39\x77\x30\x5f\xb8\x15\xdf\xa3\xa8\xef\x19\xbf\x4e\x18\xe2\xe7\x1f\x0e\x1b\xc7\x25\xa0\xf7\xd6\x77\x89\xe6\x5d\x2e\xe8\x73\xd5\x52\xd6\x24\x57\x06\xff\x07\x67\x25\x43\x36\x2b\x54\x2d\x41\x27\xbc\xd0\x35\xc5\xc2\xca\x2b\xb6\x62\x2a\x48\xae\xc1\xd8\xd8\x50\xfc\x31\xdc\x8a\x80\xc5\x61\x83\x50\xaa\x37\xc3\x00\xfd\x14\xa2\xd5\xb0\x9a\x82\x34\x18\x02\x28\x3b\xca\x1e\xd6\xb4\x7e\x69\x22\x7a\xe7\x31\x4a\x33\x96\x6c\xb7\x3c\xf7\x4a\x8c\x24\x44\x13\x36\x19\xca\xe4\xd5\xd8\xee\xa7\xd5\x54\x2d\x96\xe5\xce\x6f\x03\x2a\x5e\x4f\x46\x97\xfe\x6f\x5a\x7f\x9b\x15\xbd\x6b\x98\xd7\xcf\x9b\xa9\x75\x07\xe7\xcf\xe8\x90\x7c\x0c\xdd\xe1\xf1\x9d\x99\x74\xd7\x48\x77\x23\x6e\x6f\xda\xdb\xbd\x86\x8b\xdf\x6f\x1e\xec\x61\x9c\x2a\x20\xfc\x99\xe2\x14\xc3\xeb\x42\x8e\xd7\x31\xab\xcb\x88\x93\x37\x70\xd1\x96\x72\x09\x46\x2a\x56\x40\x5b\xc8\xbe\xf8\x19\x00\x00\xff\xff\x59\xb7\xfe\xb0\x1a\x04\x00\x00")
func nameServiceHandlersClientClient_handlerGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -234,12 +234,12 @@ func nameServiceHandlersClientClient_handlerGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/handlers/client/client_handler.gotemplate", size: 1071, mode: os.FileMode(436), modTime: time.Unix(1477150868, 0)}
info := bindataFileInfo{name: "NAME-service/handlers/client/client_handler.gotemplate", size: 1050, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServiceHandlersServerServer_handlerGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x93\xc1\x6e\x13\x31\x10\x86\xcf\xf1\x53\x8c\x56\x15\x4a\x50\xba\x7b\xaf\xd4\x0b\x08\xaa\x1e\xa8\x2a\xe8\x1d\x39\xde\xc9\xee\xb4\xbb\xf6\x62\x7b\xdb\x20\xcb\xcf\xc4\x43\xf0\x62\x8c\xbd\xdd\x34\x09\x05\x71\xe3\x10\xc5\x8a\xbf\xf9\x3d\xff\x3f\x93\x41\xaa\x07\xd9\x20\xb4\x52\xd7\x1d\x5a\x21\xaa\x0a\xee\x5a\x72\xb0\xa5\x0e\x41\x19\xed\x25\x69\x07\xbe\x45\xf8\x82\xf6\x91\x14\x42\x8d\x5b\xd2\xe4\xc9\xe8\x35\x70\x15\x48\xd8\x48\x47\x0a\xdc\x74\x9f\x14\xa8\x1f\x3a\xec\x91\x8b\x13\x56\xc2\xb5\x07\xd9\x39\x03\xa4\x55\x37\xd6\xe8\x66\x16\x7a\xaa\xf9\xd9\x27\x69\xd1\x95\x42\x70\x99\xb1\x1e\x96\x62\xf1\x15\x0a\xb4\xd6\x58\x57\xe4\xb3\xa7\x1e\x0b\x21\x16\x45\x63\x3a\xa9\x9b\xd2\xd8\xa6\xda\x55\x1a\x7d\x95\x3a\xc4\x9d\x4f\x97\xcc\x35\xe4\xdb\x71\x53\x2a\xd3\x57\x8d\x39\x7f\x20\x5f\xa5\x4f\x67\x9a\xe2\x2f\xd7\x3d\x7a\x4b\xca\x25\x89\x61\x03\x45\x08\xe5\xed\xbb\xeb\xdc\xc9\xad\xf4\x2d\x9c\xc7\x58\x88\x95\x10\x39\x9a\x1b\x7c\x9a\x63\xb0\xe8\x47\xcb\xd1\x48\xd0\xf2\xe7\x8f\x47\x5c\x83\x63\xbb\xd8\xa1\x73\x27\xfe\xc1\x6c\xe7\xf0\x4a\xb1\x1d\xb5\x3a\x90\x59\xae\xf6\xb9\x06\xb1\x98\x34\x21\xb5\x30\xcd\xe5\x46\xf6\x18\xe3\x33\x11\xa2\x88\x42\xf8\xef\x03\xfe\x89\xe0\x16\xec\xa8\x3c\x83\x22\x84\x27\x76\x0b\x67\x1f\x76\xa8\x46\x6f\x2c\x5c\x5c\x42\x19\xe3\xfe\xf7\x83\xf2\x74\xb5\xe7\x8e\x75\x93\x8e\xe5\xc4\x11\xce\xe8\x18\x9b\x0d\x7d\x42\xdf\x9a\xda\x31\xca\xf1\x84\x70\x46\xe5\x15\xfa\xa9\xf8\x25\x06\x77\xe2\x7f\xe9\x12\xfa\x9a\x83\xd5\x89\xc6\x52\xf9\x1d\x3c\x0f\xb9\x7c\x3f\x7d\xaf\x79\x8f\xe0\xed\xb0\x29\x43\xb8\x32\xd9\x00\x57\x7c\xc6\x6f\x23\x3a\x7f\xc7\xe9\xbc\x54\xaf\x60\xf9\x3b\xe7\x06\xa3\x1d\x1e\x83\x6b\xc8\xeb\xb6\x0a\x69\x4f\x2e\x81\x1f\x9d\x0e\xa4\xd3\x50\xa6\x8a\xe4\xff\x9f\xc4\x58\x64\xb1\x8f\xed\x3e\xc7\x76\x82\x7e\x24\xec\x6a\x97\x56\x8b\xd1\x9c\xdb\xac\x79\x3f\xcb\x40\x8c\x17\x90\x85\x90\xff\x63\x99\x8c\xfb\x05\x79\x33\xf7\xb4\x06\x4d\x9d\x48\x53\x65\x2a\x4f\xf7\x1c\x4e\x4f\xd3\xc6\xcc\x1b\x42\x1c\xa1\xdd\xca\xbc\x6f\xc7\xb3\x7d\x65\xa4\x8b\xff\x3a\x8c\x03\x0f\x51\xfc\x0a\x00\x00\xff\xff\xe2\x0f\x6e\x9b\xa9\x04\x00\x00")
var _nameServiceHandlersServerServer_handlerGotemplate = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x93\xc1\x6e\x13\x31\x10\x86\xcf\xf1\x53\x8c\x56\x11\x4a\x50\xe2\xbd\x57\xea\x05\x04\xa8\x87\x56\x15\xf4\x8e\x1c\xef\x64\xd7\xed\xae\xbd\xd8\xde\x26\xc8\xf2\x33\xf1\x10\xbc\x18\x63\x6f\x36\x24\xa1\xc0\xb1\x87\x28\x56\xfc\xcd\xef\x99\x7f\xfe\xf4\x42\x3e\x89\x1a\xa1\x11\xba\x6a\xd1\x32\x56\x96\xf0\xd0\x28\x07\x5b\xd5\x22\x48\xa3\xbd\x50\xda\x81\x6f\x10\xbe\xa0\x7d\x56\x12\xa1\xc2\xad\xd2\xca\x2b\xa3\x57\x40\x55\x20\x60\x23\x9c\x92\xe0\xc6\xfb\xa4\xa0\xba\xbe\xc5\x0e\xa9\x38\x61\x1c\x6e\x3c\x88\xd6\x19\x50\x5a\xb6\x43\x85\x6e\x62\xa1\x53\x15\x3d\xbb\x13\x16\x1d\x67\x8c\xca\x8c\xf5\xb0\x60\xb3\xaf\x50\xa0\xb5\xc6\xba\x22\x9f\xbd\xea\xb0\x60\x6c\x56\xd4\xa6\x15\xba\xe6\xc6\xd6\xe5\xbe\xd4\xe8\xcb\xd4\x21\xee\x7d\xba\x24\xae\x56\xbe\x19\x36\x5c\x9a\xae\xac\xcd\xfa\x49\xf9\x32\x7d\x5a\x53\x17\xff\xb8\xee\xd0\x5b\x25\x5d\x92\xe8\x37\x50\x84\xc0\xef\xdf\xdd\xe4\x4e\xee\x85\x6f\x60\x1d\x63\xc1\x96\x8c\x65\x6b\xee\x70\x37\xd9\x60\xd1\x0f\x96\xac\x11\xa0\xc5\xcf\x1f\xcf\xb8\x02\x47\xe3\x62\x8b\xce\x5d\xcc\x0f\x66\x3b\x99\xc7\xd9\x76\xd0\xf2\x44\x66\xb1\x3c\xfa\x1a\xd8\x6c\xd4\x84\xd4\xc2\xb8\x97\x3b\xd1\x61\x8c\x07\x22\x44\x16\x19\xf3\xdf\x7b\xfc\x1b\x41\x2d\xd8\x41\x7a\x02\x59\x08\x3b\x9a\x16\xe6\x1f\xf6\x28\x07\x6f\x2c\x5c\x5d\x03\x8f\xf1\xf8\xfb\x49\x79\xba\x3a\x72\xe7\xba\x49\xc7\x92\xe3\x08\x73\x75\x8e\x4d\x03\xdd\xa2\x6f\x4c\xe5\x08\x25\x7b\x42\x98\x2b\x3e\x56\xfe\xf6\xc0\x5d\x0c\xbf\x70\x89\x7b\xa9\xfd\xe5\xa9\xc0\x42\xfa\x3d\x1c\xd6\xcb\xdf\x8f\xdf\x2b\x4a\x10\xbc\xed\x37\x3c\x84\x4f\x26\xb7\x4e\xf8\x67\xfc\x36\xa0\xf3\x0f\xe4\xcb\xa1\x74\x09\x8b\x3f\x21\xd7\x1b\xed\xf0\x84\x5a\x41\x8e\xd8\x32\xa4\x6c\x5c\x03\x3d\x37\x1e\x94\x4e\x8b\x18\xf1\x34\xf3\xff\x95\x48\x61\x76\xf4\xe9\x31\xfb\x74\xc1\xdd\x52\x2a\x68\x5a\xfe\x51\x61\x5b\xb9\x94\x29\x2a\xc9\x86\x4d\xc2\x8f\x59\x0b\x62\xbc\x82\xac\x86\xf4\xcf\xca\x58\x3c\xc6\xe2\xcd\xd4\xd5\x0a\xb4\x6a\x59\xda\x25\x51\x79\xa7\x6b\xb8\x3c\x8d\x39\x99\x72\xa1\xc8\x3e\xbb\x15\x39\x65\xe7\x1b\x7d\x61\x91\xb3\xd7\xd8\xc2\x49\xeb\x91\xfd\x0a\x00\x00\xff\xff\x05\xcf\x17\xf8\x96\x04\x00\x00")
func nameServiceHandlersServerServer_handlerGotemplateBytes() ([]byte, error) {
return bindataRead(
@ -254,12 +254,12 @@ func nameServiceHandlersServerServer_handlerGotemplate() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/handlers/server/server_handler.gotemplate", size: 1193, mode: os.FileMode(436), modTime: time.Unix(1477150868, 0)}
info := bindataFileInfo{name: "NAME-service/handlers/server/server_handler.gotemplate", size: 1174, mode: os.FileMode(436), modTime: time.Unix(1477950696, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServicePartial_templateClient_handlerMethods = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x92\x4f\x4f\xc2\x30\x14\xc0\xcf\xee\x53\xbc\x03\x31\x60\xa0\xdc\x49\x3c\xa0\x11\xe2\x41\x0f\xea\x17\x28\xdb\x63\x34\xd9\xda\xd9\xbe\x29\xa6\xd9\x77\xf7\xb5\x74\xa2\x40\x0c\x31\xde\xba\xbe\xdf\xfb\xf7\x5b\xbd\x87\x77\x45\x1b\x18\x10\xd6\x4d\x25\x09\xef\xb6\x98\xb7\x64\x2c\xcc\xae\x41\x74\x5d\x96\x79\x6f\xa5\x2e\x11\x06\x2a\x5c\x1d\x71\xe2\x19\xed\x9b\xca\x51\x3c\x20\x6d\x4c\xe1\x38\x65\x3a\x05\xef\x07\x4a\x2c\x91\x1e\x65\x8d\x5d\x07\x8a\x73\xb0\x46\x4d\x0e\x7a\x3c\x5b\xb7\x3a\x3f\xe0\x86\xde\xc7\x61\x94\x2e\x70\x7b\xa2\xd5\x6d\xa5\xb8\xc6\xdc\x96\x2e\x76\x0b\x07\xf8\x9e\xef\xfd\xd2\x84\x13\x88\x05\x17\x27\x65\x74\x40\xc2\x3d\xea\xa2\xeb\x46\x30\xbc\x6a\x56\xe2\x8b\xe2\xd4\x27\x7c\x6d\xd1\xd1\xcb\x47\x83\xfb\x32\x63\x40\x6b\x8d\x1d\x79\xde\x7d\x92\xf4\xd4\xdc\x2f\xec\xff\xb7\xd1\x60\xc2\x5a\x2e\x42\xb5\xe4\xb2\x91\x56\xd6\xd1\x67\x28\x2c\x22\x1e\x99\x08\xa9\x35\x68\x43\x89\x12\xf7\xee\x46\x3a\x0c\x23\x26\x84\xfd\xce\x8b\x02\xf2\xd6\x91\xa9\x61\xd5\x3a\xa5\xd1\x39\xa8\x4c\xa9\x72\x58\xf3\xaf\x53\x9a\xd0\x36\x16\x49\xe9\x32\x28\xde\xd5\x59\x54\xb2\xe4\x46\xbc\x5f\x6a\xc3\x52\xf6\x83\xf5\x1f\x3f\x02\x76\xa7\x27\x0c\x7a\x8e\xb8\xff\x17\x76\xae\xae\x23\x55\x29\xd8\x0f\xbc\x0b\xa7\xd7\x38\x83\xc3\xc0\x6f\x6a\x4e\x8a\x89\x6e\xa8\xb5\x1a\x2e\x93\xa3\x31\x68\x55\x65\x01\x8b\x6f\xad\xc7\xf9\xf4\x19\x00\x00\xff\xff\xc8\xa7\x80\x44\x63\x03\x00\x00")
var _nameServicePartial_templateClient_handlerMethods = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x92\xcf\x4e\xc3\x30\x0c\xc6\xcf\xf4\x29\x7c\x98\xd0\x86\xb6\xec\x3e\x89\xc3\x40\x0c\x71\x80\x03\xf0\x02\x59\xeb\x75\x96\xda\xa4\x24\x29\x0c\x45\x7d\x77\x9c\x34\x1d\x7f\x36\x01\x42\xdc\xd2\xf8\xf3\xe7\xcf\xbf\xc6\x7b\x78\x21\xb7\x85\x91\xc3\xba\xa9\xa4\xc3\xab\x1d\xe6\xad\xd3\x06\x16\xe7\x20\xba\x2e\xcb\xbc\x37\x52\x95\x08\x23\x0a\x57\x07\x3a\xf1\x80\xe6\x99\x72\x14\xb7\xe8\xb6\xba\xb0\xdc\x32\x9f\x83\xf7\x23\x12\x77\xb2\xc6\xae\x03\xe2\x06\xac\x51\x39\x0b\x83\x36\xdb\xb4\x2a\xff\x28\x1a\x7b\x1f\x63\x90\x2a\x70\x77\x64\xc8\x65\x45\x6c\xb0\x34\xa5\x8d\x73\xc2\x01\xf6\xcd\xde\x5f\xeb\x70\x02\xb1\x62\x5b\x47\x5a\x85\x7a\xb8\x47\x55\x74\xdd\x04\xc6\x67\xcd\x5a\xec\x55\xdc\x77\x8f\x4f\x2d\x5a\xf7\xf8\xda\x60\xf2\x98\x02\x1a\xa3\xcd\xc4\xf3\xbe\xb3\x84\xa4\xe6\x49\x61\xe7\x3f\x84\x82\x19\x73\x38\x09\x56\x09\x5e\x23\x8d\xac\x23\xc0\xe0\x2a\xa2\x36\x6a\xa2\x88\x36\xa0\xb4\x4b\x2a\x71\x63\x2f\xa4\xc5\x10\x2e\x49\x18\xe8\xb2\x28\x20\x6f\xad\xd3\x35\xac\x5b\x4b\x0a\xad\x85\x4a\x97\x94\xc3\x86\xff\x15\x29\x87\xa6\x31\xe8\x48\x95\x01\x6b\xef\xb3\xaa\x64\xc9\x83\x78\xb9\x34\x86\x71\xbc\x07\x1b\x3e\x3e\x15\x4c\x0f\x26\x04\xfd\x11\xd9\x3f\xa3\xfa\x2d\xa8\x03\x48\xa9\x38\x44\xed\xcb\xe9\xed\x2d\xe0\x6b\xe1\x3b\x28\x47\x91\x44\x2a\xae\x35\x0a\x4e\x13\x9d\x29\x28\xaa\xb2\x20\x8b\xef\x6b\x90\xf3\xe9\x2d\x00\x00\xff\xff\xf0\xfb\x3d\xfc\x4e\x03\x00\x00")
func nameServicePartial_templateClient_handlerMethodsBytes() ([]byte, error) {
return bindataRead(
@ -274,12 +274,12 @@ func nameServicePartial_templateClient_handlerMethods() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/partial_template/client_handler.methods", size: 867, mode: os.FileMode(436), modTime: time.Unix(1474335271, 0)}
info := bindataFileInfo{name: "NAME-service/partial_template/client_handler.methods", size: 846, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServicePartial_templateServiceInterface = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x64\x8e\x31\xce\xc2\x30\x0c\x46\xe7\xbf\xa7\xf0\xd0\xa1\xfd\x55\x72\x00\x24\x26\x86\x4e\x30\x00\x17\x28\xed\x07\x64\x20\x29\x8e\x41\x45\x56\xee\x8e\x11\x48\x08\x31\xd9\xc3\xf3\xf3\x93\xfb\x08\xda\x82\x6f\xbe\x07\xf9\x20\xe0\x43\x67\x9b\x16\xaa\xdc\x85\x23\xa8\xf4\x34\x5f\x90\x7b\x23\x6e\x05\x39\xc5\x21\xe5\x5c\xfc\xa9\x96\xde\xb5\x90\x75\x77\x46\xce\x55\x2f\x13\xf5\xd1\x0c\x93\xb8\xe5\x6b\x36\x66\xa4\xff\x71\xef\x54\xdb\xf8\xc4\xcc\xe6\x36\xb8\x5c\x91\x64\x67\x8f\x3f\xd7\x35\x55\xbf\x5c\x1a\x63\x48\xf8\x06\x1b\x02\x73\xe4\xda\xfa\x66\x84\x30\x58\x48\x2e\x1e\x01\x00\x00\xff\xff\x49\xf1\x29\x36\xc5\x00\x00\x00")
var _nameServicePartial_templateServiceInterface = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x64\x8e\x31\x0e\xc2\x30\x0c\x45\x67\x7a\x0a\x0f\x1d\x5a\x54\x72\x00\x24\x26\x06\x26\x18\x80\x0b\x94\xf6\x03\x19\x48\x8a\x63\x50\x91\x95\xbb\x63\x44\x07\x24\x26\x7b\x78\xff\xbf\x2f\xaf\x01\x74\x00\x3f\x7d\x07\xf2\x41\xc0\xe7\xd6\x3e\x2d\x54\xb9\x0d\x17\x50\xe9\x69\xb9\x22\x37\x21\x6e\x0b\xb9\xc6\x3e\xe5\x5c\xcc\x54\x4b\xef\x76\xed\x0d\x39\x57\x9d\x8c\xd4\x45\x8b\x8f\xe2\xd6\xdf\xdb\x58\x1d\xcd\x87\x93\x53\xdd\xc4\x0f\x66\x55\x6e\x8f\xfb\x03\x49\x8e\x66\x9d\xa2\x35\x55\xff\x50\x1a\x62\x48\xf8\xa1\x1a\x02\x73\xe4\xda\x66\x2d\x08\xa1\x37\x7f\x2e\xde\x01\x00\x00\xff\xff\xf9\x3a\x09\x61\xbc\x00\x00\x00")
func nameServicePartial_templateServiceInterfaceBytes() ([]byte, error) {
return bindataRead(
@ -294,12 +294,12 @@ func nameServicePartial_templateServiceInterface() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/partial_template/service.interface", size: 197, mode: os.FileMode(436), modTime: time.Unix(1474335271, 0)}
info := bindataFileInfo{name: "NAME-service/partial_template/service.interface", size: 188, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _nameServicePartial_templateServiceMethods = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x91\xc1\x4e\xf3\x30\x10\x84\xcf\xc9\x53\xcc\x21\xfa\xd5\xfe\x6a\xdd\x7b\xa5\x9e\x10\xf4\x04\x42\xc0\x1d\x05\x77\x69\x5d\x12\x3b\xd8\x1b\x08\xb2\xf2\xee\x38\x71\xd2\x12\xe0\xc0\xc9\x2b\xf9\x9b\xd9\xdd\x59\xef\xf1\xae\xf8\x80\x8c\xa9\xac\x8a\x9c\xe9\xb2\x21\x59\xb3\xb1\x58\x6f\x20\xda\x36\x3d\x01\xb7\xb9\x7c\xc9\xf7\x74\x93\x97\xd4\xfd\xfd\x10\x88\x2f\x40\xd0\x05\xa1\xcd\xf5\x9e\x90\xa9\xdf\xf1\x7b\xb2\x6f\x4a\x92\xb8\x26\x3e\x98\x9d\x0b\x92\xd5\x0a\xde\x8b\x2d\x71\xb4\x80\x0a\x0a\x2a\x49\xb3\xc3\x08\xa7\xcf\xb5\x96\x98\xb9\x00\x66\x93\x7e\x03\x30\x9f\x38\xcc\x24\x37\x90\x46\x33\x35\x2c\x2e\xe2\xbb\x80\xd2\xf8\x5f\x3d\x09\xef\xb7\xa6\x5f\x46\xdc\xd1\x6b\x4d\x8e\x1f\x3e\x2a\x3a\x6b\xe7\x98\x7d\xa7\x5c\x65\xb4\xa3\x29\xb6\x00\x59\x6b\xec\xdc\xa7\xc9\x23\x36\x08\x0d\x63\xa1\x74\x9a\xd8\x41\xd1\xed\xff\x07\xab\x60\x91\x9c\x42\x3b\xf6\xa1\xa9\x29\x7a\xa5\xa8\xd8\x39\x2c\x43\x56\x49\xd2\xa7\x35\x38\x66\xc7\xd1\x06\x6d\xbb\x46\x6f\x44\x7a\x17\xc9\xb6\x9b\x84\x6b\xab\xf1\x6f\x9c\x68\x01\xad\x8a\xb4\x3b\x6e\xa0\xe2\xb1\x96\x88\xe5\xb9\xfa\x0c\x00\x00\xff\xff\x01\x01\x6d\x90\x1b\x02\x00\x00")
var _nameServicePartial_templateServiceMethods = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x91\xcd\x4e\xeb\x30\x10\x85\xd7\xc9\x53\x9c\x45\x74\xd5\x5e\xa5\xee\xbe\x52\x57\x08\x58\x81\x10\xb0\x47\xc1\x19\x5a\x97\xc4\x0e\xf6\x04\x82\xac\xbc\x3b\x4e\x9c\xfe\x01\x12\xab\x8c\x94\xef\x3b\xb6\xcf\x78\x8f\x0f\xc5\x5b\x64\x4c\x75\x53\x15\x4c\x97\x1d\xc9\x96\x8d\xc5\x6a\x0d\xd1\xf7\xe9\x01\xb8\x2b\xe4\x6b\xb1\xa1\xdb\xa2\xa6\xe1\xdf\x0f\x41\x9c\x00\xc1\x0b\xa2\x2d\xf4\x86\x90\xa9\xdf\xf1\x07\xb2\xef\x4a\x92\xb8\x21\xde\x9a\xd2\x05\x65\xb9\x84\xf7\x22\xfa\x50\x01\xa7\x9a\x34\x3b\xec\xc9\xf4\xa5\xd5\x12\x33\x17\xa8\xec\xec\xb0\x09\x98\x1f\xf5\x99\xe4\x0e\xd2\x68\xa6\x8e\xc5\x45\xfc\xe6\x50\x1a\xff\x9b\x67\xe1\xfd\xb5\x19\x9f\x21\xee\xe9\xad\x25\xc7\x8f\x9f\x0d\x4d\xe2\x1c\xb3\xef\x88\x6b\x8c\x76\x74\xc2\xe4\x20\x6b\x8d\x9d\xfb\x34\x79\xc2\x1a\xe1\xa8\x38\x28\x9d\x26\x76\xc2\x87\x37\xff\x95\x13\xfc\xe4\xd0\xd2\x6e\x6c\x49\x9d\x73\x57\x8a\xaa\xd2\x61\x11\xca\x49\x92\xb1\x9e\x29\x2e\xdb\x8d\x19\xe8\xfb\x15\xc6\x14\xd2\x65\xc4\xfa\xe1\x0e\xdc\x5a\x8d\x7f\xfb\xbb\xe4\xd0\xaa\x4a\x87\x55\x06\x2a\xae\x66\x81\x38\x1e\xa7\xaf\x00\x00\x00\xff\xff\x83\x97\xcb\x10\x09\x02\x00\x00")
func nameServicePartial_templateServiceMethodsBytes() ([]byte, error) {
return bindataRead(
@ -314,7 +314,7 @@ func nameServicePartial_templateServiceMethods() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "NAME-service/partial_template/service.methods", size: 539, mode: os.FileMode(436), modTime: time.Unix(1474335271, 0)}
info := bindataFileInfo{name: "NAME-service/partial_template/service.methods", size: 521, mode: os.FileMode(436), modTime: time.Unix(1477950095, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}

Просмотреть файл

@ -262,10 +262,10 @@ func NewMap(m ast.Expr) (*Map, error) {
}
// NewService returns a new Service struct derived from an *ast.TypeSpec with a
// Type of *ast.InterfaceType representing an "{SVCNAME}Client" interface.
// Type of *ast.InterfaceType representing an "{SVCNAME}Server" interface.
func NewService(s *ast.TypeSpec) (*Service, error) {
rv := &Service{
Name: s.Name.Name,
Name: strings.TrimSuffix(s.Name.Name, "Server"),
}
asvc := s.Type.(*ast.InterfaceType)
for _, m := range asvc.Methods.List {