shared

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnIdleTimeout = time.Second * 30
)

Variables

This section is empty.

Functions

func PeerHash

func PeerHash(name string) uint64

func RandomHostname

func RandomHostname() string

Types

type GeneratedName

type GeneratedName struct {
	Hostname string
}

type Where

type Where struct {
	Addr string
	Port int
}

Jump to

Keyboard shortcuts

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