data-channels-simple

command
v4.2.29 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

WebRTC DataChannel Example in Go

This is a minimal example of a WebRTC DataChannel using Go (Pion) as the signaling server.

Features

  • Go server for signaling
  • Browser-based DataChannel
  • ICE candidate exchange
  • Real-time messaging between browser and Go server

Usage

  1. Run the server:
go run main.go
  1. Open browser at http://localhost:8080

  2. Send messages via DataChannel and see them in terminal & browser logs.

Documentation

Overview

simple-datachannel is a simple datachannel demo that auto connects.

Jump to

Keyboard shortcuts

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