types

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package types defines the shared data types for the hash tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryEntry

type HistoryEntry struct {
	Input string    `json:"input"`
	Time  time.Time `json:"time"`
}

HistoryEntry is one item in the persistent hash history.

type Result

type Result struct {
	Input  string
	Port   uint16
	UUID   string
	Color  string // "#rrggbb"
	Short  string // first 8 hex chars of hash
	Emoji  string
	Phrase string // "word-word-word"
}

Result holds all values deterministically derived from an input string.

Jump to

Keyboard shortcuts

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