-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
245 additions
and
3,486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package pack:name | ||
package pack:name; | ||
|
||
// See https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md for more details about the WIT syntax | ||
|
||
interface api { | ||
add: func(value: u64) | ||
get: func() -> u64 | ||
add: func(value: u64); | ||
get: func() -> u64; | ||
} | ||
|
||
world component-name { | ||
export api | ||
export api; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package pack:name | ||
package pack:name; | ||
|
||
// See https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md for more details about the WIT syntax | ||
|
||
interface api { | ||
add: func(value: u64) | ||
get: func() -> u64 | ||
publish: func() -> result<_, string> | ||
pause: func() | ||
add: func(value: u64); | ||
get: func() -> u64; | ||
publish: func() -> result<_, string>; | ||
pause: func(); | ||
} | ||
|
||
world component-name { | ||
import golem:api/host | ||
import wasi:poll/poll | ||
import wasi:io/streams | ||
import wasi:http/types | ||
import wasi:http/outgoing-handler | ||
import golem:api/host; | ||
import wasi:io/poll@0.2.0-rc-2023-11-10; | ||
import wasi:io/streams@0.2.0-rc-2023-11-10; | ||
import wasi:http/types@0.2.0-rc-2023-11-10; | ||
import wasi:http/outgoing-handler@0.2.0-rc-2023-11-10; | ||
|
||
export api | ||
export api; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package pack:name | ||
package pack:name; | ||
|
||
// See https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md for more details about the WIT syntax | ||
|
||
interface api { | ||
add: func(value: u64) | ||
get: func() -> u64 | ||
add: func(value: u64); | ||
get: func() -> u64; | ||
} | ||
|
||
world component-name { | ||
export api | ||
export api; | ||
} |
Oops, something went wrong.