relay

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, config Config) error

Run starts an Obol libp2p-tcp-relay and udp-discv5 bootnode.

Types

type Config

type Config struct {
	DataDir        string
	HTTPAddr       string
	MonitoringAddr string
	P2PConfig      p2p.Config
	LogConfig      log.Config
	AutoP2PKey     bool
	MaxResPerPeer  int
	MaxConns       int
	RelayLogLevel  string
}

Config defines the config of the relay.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳