INNER CODE UNIT · Go

parentSvc

yarpc/yarpc-go · encoding/thrift/thriftrw-plugin-yarpc/main.go:209

		parentSvc := buildSvc(*service.ParentID, req)
		parents = append(parents, parentSvc)
		parents = append(parents, parentSvc.Parents...)
	}

	return &Svc{
		Service: service,
		Module:  module,
		Parents: parents,
	}
}

func main() {
	flag.Parse()
	plugin.Main(&plugin.Plugin{Name: "yarpc", ServiceGenerator: g{
		SanitizeTChannel: *_sanitizeTChannel,
	}})
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…