ticket

package
v0.0.0-...-12e214a Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Machine

type Machine interface {
	Issue([]byte) Ticket
	Validate(Ticket) []byte
}

func NewMachine

func NewMachine(privateKey ed25519.PrivateKey) Machine

type Ticket

type Ticket []byte

func TicketFromString

func TicketFromString(s string) (Ticket, error)

func (Ticket) String

func (t Ticket) String() string

Jump to

Keyboard shortcuts

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