multiserver

package
v0.0.0-...-04e43ac Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

first draft of an (surely) incomlete implemenation of multiserver addresses

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoNetAddr = errors.New("multiserver: no net~shs combination")
	ErrNoSHSKey  = errors.New("multiserver: no or invalid shs1 key")
)

Functions

This section is empty.

Types

type NetAddress

type NetAddress struct {
	Addr net.TCPAddr
	Ref  *ssb.FeedRef
}

func ParseNetAddress

func ParseNetAddress(input []byte) (*NetAddress, error)

func (NetAddress) String

func (na NetAddress) String() string

Jump to

Keyboard shortcuts

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