Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
Token holds all info for an invitation
func NewInviteToken ¶
func NewInviteToken(addrHash hash.Hash, routingID string, validUntil time.Time, pk bmcrypto.PrivKey) (*Token, error)
NewInviteToken will create a new invitation token that can be used to create an address on a mailserver
func ParseInviteToken ¶
ParseInviteToken parses data as generated by inviteToken.String() into a token
Click to show internal directories.
Click to hide internal directories.