dena / aehcl Goto Github PK
View Code? Open in Web Editor NEWApp Engine Http Client
License: MIT License
App Engine Http Client
License: MIT License
X-Cloud-Trace-Context
をリクエストヘッダーにつけることで TraceID でログを紐づけることができるのでこれを入れるかどうかを検討する。
GAE/Go1.12 以降 appengine パッケージが使えなくなるので、urlfetch が使えなくなります。
urlfetch は GAE で提供されている URL取得サービスで GAE ではこのサービスを使って HTTP 通信を行ってきました。
しかしこの urlfetch サービスが使えなくので urlfetch で行えていたことができなくなります。
その1つがマイクロサービスにおける サービス間通信における内部通信判定。
urlfetch を使っているときは urlfetch を利用する時に HTTP のヘッダーに付いてくる urlfetch の独自ヘッダーを使うことが代用できましたが、今後は標準の net/http を使うことになるので、この独自ヘッダーを使った内部通信判定は使えなくなります。
GAE/Go1.12 以降は https://cloud.google.com/run/docs/authenticating/service-to-service にあるような metadata server を使ってサービス間通信を行います。
aehctではこのサービス間通信を異様するための
機能を提供します。
aehcl はクライアントなので、アクセストークンを検証し、内部通信判定まで含めた aehsv( appengine http server) もセットで作成予定です。
※ ライブラリ名は適当です。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.