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") )
View Source
var (
ErrNoTunnelAddr = errors.New("multiserver: not a tunnel address")
)
Functions ¶
This section is empty.
Types ¶
type NetAddress ¶
func ParseNetAddress ¶
func ParseNetAddress(input []byte) (*NetAddress, error)
func (NetAddress) String ¶
func (na NetAddress) String() string
func (NetAddress) WrappedAddr ¶
func (na NetAddress) WrappedAddr() net.Addr
WrappedAddr returns a netwrap'ed address that can be dialed easily using secretstream
type TunnelAddress ¶
func ParseTunnelAddress ¶
func ParseTunnelAddress(input string) (*TunnelAddress, error)
func (TunnelAddress) String ¶
func (ta TunnelAddress) String() string
Click to show internal directories.
Click to hide internal directories.