Documentation

Overview

    Package abi is the common interface for all ABI implementations

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type ABI

    type ABI interface {
    	exec.ImportResolver
    	Namer
    
    	Files() []File
    	Open(File)
    }

      ABI is the interface that is provided to a webaseembly module. Instances of this interface will live for the lifetime of webassembly modules.

      This is low level intentionally.

      type File

      type File interface {
      	io.Closer
      	io.Reader
      	io.Writer
      	Namer
      
      	// Flush isn't required for all backends, but it is used for some, such as HTTP.
      	Flush() error
      }

        File is the most common denominator for most of what you usefully need out of files to make useful programs.

        type FileOpener

        type FileOpener interface {
        	Open(furl *url.URL, flags int) (File, error)
        }

          FileOpener opens a given file by URL.

          type Namer

          type Namer interface {
          	Name() string
          }

            Namer is something that has a name.

            Source Files

            Directories

            Path Synopsis
            Package cwa contains the ABI for CommonWA[1] applications.
            Package cwa contains the ABI for CommonWA[1] applications.
            Package dagger is the first attempt at an API for webassembly modules to communicate with the outside world.
            Package dagger is the first attempt at an API for webassembly modules to communicate with the outside world.
            Package wasmgo contains hacks and bindings in order to "mixin" the Go webassembly ABI to another webassembly module.
            Package wasmgo contains hacks and bindings in order to "mixin" the Go webassembly ABI to another webassembly module.