Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
/ tinynet Public archive

A `net` implementation for Go and TinyGo based on unisockets, targeting both WebAssembly and native platforms.

License

Notifications You must be signed in to change notification settings

pojntfx/tinynet

Repository files navigation

tinynet

A net implementation for Go and TinyGo based on unisockets, targeting both WebAssembly and native platforms.

make CI Mirror PkgGoDev Part of webnetes

Overview

tinynet implements a subnet of the Go net package. Because it is based on unisockets, it supports more platforms (WASM/JS, WASM/WASI, TinyGo, Go etc.) than the official net package.

Usage

Check out PkgGoDev for API documentation. Many examples on how to use it (clients, servers and an example distributed system) can also be found in the cmd package. Additionally, the Makefile might also be of interest; it shows how to build native and WASM binaries.

You want a Kubernetes-style system for WASM, running in the browser and in node? You might be interested in webnetes, which supports the unisockets-based networking used by tinynet.

License

tinynet (c) 2021 Felicitas Pojtinger and contributors

SPDX-License-Identifier: AGPL-3.0