Documentation ¶
Overview ¶
Package invite contains functions for parsing invite codes and dialing a pub as a guest to redeem a token. The muxrpc handlers and storage are found in plugins/legacyinvite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidToken = errors.New("invite: invalid token")
Functions ¶
func NewPubMessageFromToken ¶
func NewPubMessageFromToken(tok Token) (*refs.OldPubMessage, error)
Types ¶
type Token ¶
func ParseLegacyToken ¶
ParseLegacyToken takes an legacy invite token of the form host:port:@feed.Ref~base64Seed
Click to show internal directories.
Click to hide internal directories.