Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make Go binaries interface with Dagger #5

@Xe

Description

@Xe

In 3daf7b8, work was started to interoperate Go webassembly binaries with Dagger to get a basic example of reading from the printer facts API online. Unfortunately, a dependency on syscall/js was somehow introduced by compiling the package github.com/Xe/olin/dagger in webassembly mode.

  • Discover why github.com/Xe/olin/dagger pulls in syscall/js
    • If JS support is actually needed for now:
      • Integrate Otto and shim together syscall/js
      • Callback support
        • Read documentation on package syscall/js
        • Implement
    • If JS support isn't needed:
      • Hack around it
  • Write and test bindings for dagger ABI functions in package github.com/Xe/olin/dagger
    • open
    • read
    • write
    • close
    • sync
  • Create http.RoundTripper instance using dagger's http:// and https:// file schemes
  • Printerfacts client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions