TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.79k stars 2.08k forks source link

Is the interface implementation in imp.go called in the form of a coroutine? #806

Closed TARS-Question closed 4 years ago

TARS-Answer commented 4 years ago

Yes, it is the implementation of the interface in xxx_imp.go generated by tars, which is called in a coroutine way.

TARS-Answer commented 4 years ago

是的,就是根据tars生成的xxx_imp.go的里面的接口实现,是以协程方式被调用的。