File tree Expand file tree Collapse file tree 7 files changed +16
-9
lines changed Expand file tree Collapse file tree 7 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 11# Go HTTP Client
22
3- This repository contains a WebAssembly Component compiled using [ TinyGo] [ tinygo ] , which:
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/component/http-client ) is a
4+ WebAssembly Component compiled using [ TinyGo] [ tinygo ] , which:
45
56- Implements a [ ` wasi:http ` ] [ wasi-http ] -compliant HTTP handler
67- Uses the [ ` httpserver ` provider] [ httpserver-provider ] to serve requests
Original file line number Diff line number Diff line change 11# TinyGo HTTP Password Checker
22
3- This repository contains a WebAssembly Component written in [ TinyGo] [ tinygo ] , which:
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/component/http-password-checker )
4+ is a WebAssembly Component written in [ TinyGo] [ tinygo ] , which:
45
56- Implements a [ ` wasi:http ` ] [ wasi-http ] -compliant HTTP handler
67- Uses the [ ` httpserver ` provider] [ httpserver-provider ] to serve requests
Original file line number Diff line number Diff line change 1- # Go HTTP Password Checker
1+ # Go HTTP Server
22
3- This repository contains a WebAssembly Component compiled using [ TinyGo] [ tinygo ] , which:
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/component/http-server ) is a
4+ WebAssembly Component compiled using [ TinyGo] [ tinygo ] , which:
45
56- Implements a [ ` wasi:http ` ] [ wasi-http ] -compliant HTTP handler
67- Uses the [ ` httpserver ` provider] [ httpserver-provider ] to serve requests
Original file line number Diff line number Diff line change 11# Custom WIT example
22
3- This example shows how to combine the wasmCloud Component SDK with your custom interfaces. You can
4- find the custom interface in ` wit/world.wit ` . It should look something like this:
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/component/invoke ) shows how to
4+ combine the wasmCloud Component SDK with your custom interfaces. You can find the custom interface
5+ in ` wit/world.wit ` . It should look something like this:
56
67``` wit
78interface invoker {
Original file line number Diff line number Diff line change 11# 🐘 SQLDB Postgres Example
22
3- This folder contains a WebAssembly component that makes use of:
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/component/sqldb-postgres-query ) is
4+ a WebAssembly component that makes use of:
45
56- The [ ` wasmcloud:postgres ` WIT contract] ( https://github.com/wasmCloud/wasmCloud/tree/main/wit/postgres )
67- The
Original file line number Diff line number Diff line change 11# http-server
22
3- This example demonstrates how to forward requests to components exporting ` wasi:http/incoming-handler ` .
3+ [ This example] ( https://github.com/wasmCloud/go/tree/main/examples/provider/http-server ) demonstrates
4+ how to forward requests to components exporting ` wasi:http/incoming-handler ` .
45
56It starts a http server listening on port 8080 containing 2 routes:
67
Original file line number Diff line number Diff line change 11# Keyvalue inmemory golang provider
22
3- This provider implements
` wrpc:keyvalue/[email protected] ` .
3+ [ This provider example] ( https://github.com/wasmCloud/go/tree/main/examples/provider/keyvalue-inmemory )
4+ is implements
` wrpc:keyvalue/[email protected] ` .
45
56## Notable files
67
You can’t perform that action at this time.
0 commit comments