You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/13 17:00:44 UTC

[GitHub] [apisix-dashboard] bisakhmondal commented on pull request #1788: feat: embed assets in api binary

bisakhmondal commented on pull request #1788:
URL: https://github.com/apache/apisix-dashboard/pull/1788#issuecomment-840695352


   Hi guys,
   regarding embedding the static lua codes into the binary,
   
   this is the method that handles the conversion of lua code, but I am not getting how this is done!!
   https://github.com/apache/apisix-dashboard/blob/a59e8eff7ecdf38c197b4678c34d2fd15f364f72/api/internal/handler/route/route.go#L271-L306
   
   The documentation in `gopher-lua` is not that good.
   Could anyone give me some details?
   
   It seems pointing to the directory is enough, but after the embedding, it's going to be an **in-memory filesystem**.
   I haven't found such apis in gopher-lua, could you please guide me?
   Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org