Shugo Kawamura

Results 96 comments of Shugo Kawamura

Hi, thanks for the suggestion! so you mean, player can create their match with scheduled date, reserved server and teams right? honestly implementing it is not easy imo,but idea is...

Thanks for the report! are you using latest build(https://github.com/FlowingSPDG/get5-web-go/releases/tag/v0.1.2-rconfix) ? actually I committed a lot of changes after v0.1.2 so I can't look into it now. perhaps you may disable...

I've added new column `steamids` on `team` table. this should be comma-separeted strings like this : ``"76561198192393190,76561198072054549,76561198261049877"`` API should try to find `steamids` first,and if its empty(`NULL`), try to find...

Supported "steamids" writing. "steamids" READING will implemented more late stable version(to hold compatibility).

Basically using arrays with MySQL is not good design. So I probably need to think about other DB system such as Mongo.

...or, I can add new table like "player" and let it contain ID(pk),steamid,teamid information so it won't be array anymore

implemention would be http-middleware for http.responsewriter

I can simply check "admin" flag in jwt

JWTでトークンを発行する形式に切り替え、通常のログインもJWTを使用するのが良さげ?

JWTは導入しセッションを廃止した リロードするとログアウトされるので、そこは何か対策が必要...? localStorageに保存しても良いかもしれない 通常のマッチリストロードにもログインが必要なので、tokenなしでロード出来るようにしたいリソースはエンドポイントグループを分ける トークン不要系はGET, POST系はトークン必要にしたい [GET] /api/v1/GetNNN [GET] /api/v1/matchlist [GET] /api/v1/match/{matchID}/ [GET] /api/v1/team/{matchID}/ https://github.com/FlowingSPDG/get5-web-go/tree/feat/jwt-auth