tinynet

module
v0.0.0-...-a55e21b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: AGPL-3.0

README

tinynet

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

make CI Mirror PkgGoDev

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) 2020 Felix Pojtinger

SPDX-License-Identifier: AGPL-3.0

Directories

Path Synopsis
cmd
net_echo_client command
net_echo_server command
softmax_client command
softmax_server command
tcp_echo_client command
tcp_echo_server command
tinyperf command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL