core

package
v0.0.0-...-2f75c38 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P2PServer

type P2PServer struct {
	P2PHost  *p2pcore.LibP2pCore
	HTTPHost *httpHost.Host
}

func NewP2PServer

func NewP2PServer(HttpPort, P2PPort int) (*P2PServer, error)

func (*P2PServer) Close

func (s *P2PServer) Close() error

func (*P2PServer) Run

func (s *P2PServer) Run() error

Jump to

Keyboard shortcuts

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