https://opendal.apache.org/ logo
Refactor(service/cos/obs): refactor the code in ob...
# general
a
hi guys, I'm trying to fix issue refactor the code in backend.rs and core.rs (https://github.com/apache/incubator-opendal/issues/2683), i wonder which type is preferred

https://cdn.discordapp.com/attachments/1136280657950163045/1136281074083835945/image.png▾

https://cdn.discordapp.com/attachments/1136280657950163045/1136281074410979438/image.png▾

@Xuanwo
x
Use s3 style is preferred.
a
i found even in the same service , the ways of calling function are different , most of functions sign the request in core.rs, should it be right ? or maybe we should refactor other functions in core.rs of s3 service

https://cdn.discordapp.com/attachments/1136280657950163045/1136674891068878868/image.png▾

https://cdn.discordapp.com/attachments/1136280657950163045/1136674994768855202/image.png▾

most functions look like this pic
x
You are right, signing should happen in
core
. Welcome to do this.
a
from my perspective, the role of backend seems is similar to
controller
in MVC architecture , am I right ?
x
I don't know..
a
🥲 👋 it doesn't matter, i will fix the relevant functions
☺️ 🚀
x
Thanks for your contribution!