ldat

package
Version: v0.0.0-...-b30a967 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(host, muid, pubkey string, exp uint32) (string, error)

Start ...

Types

type Meta

type Meta map[string]string

Meta struct

type ParsedTerms

type ParsedTerms struct {
	Terms Terms
	Bytes []byte
}

ParsedTerms ...

func Parse

func Parse(token string) (ParsedTerms, error)

Parse ...

type Terms

type Terms struct {
	Host        string
	Muid        string
	Exp         int64 // unix timestamp of expiry
	BuyerPubKey string
	Sig         string
	Meta        Meta
}

Terms ... All strings are base64 encoded

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL