ldat

package
v0.0.0-...-6d6aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 5 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
	BuyerPubKey string
	Exp         int64 // unix timestamp of expiry
	Sig         string
	Meta        Meta
}

Terms ... All strings are base64 encoded

Jump to

Keyboard shortcuts

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