signaling_server

package module
v0.0.0-...-c01a966 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

signaling-server

This is the signaling server of the pipe network to connect peers.

It is using SaltyRTC to establish a secure connection between two clients over this signalling server.

Install

Just install the dependencies from the go.mod file:

go mod download

Start

Start the server by running

go run main/main.go

Add following flags to configure:

http service address:
--address localhost:8080

public key file path:
--public_key_file ./public.key

private key file path:
--private_key_file ./private.key

TLS certificate file path:
--tls_cert_file ./cert.pem

TLS key file path:
--tls_key_file ./key.pem

Generate certificates

To generate a TLS certificate just use the main/generate_certificate.go file with:

go run main/generate_certificate.go --host your_host

Generate box key pairs

go run main/generate_box_keypair.go 

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitializeMainApplication

func InitializeMainApplication() (application.MainApplication, error)

Types

This section is empty.

Directories

Path Synopsis
domain
infrastructure
interface

Jump to

Keyboard shortcuts

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