Documentation ¶ Overview ¶ Package types defines the shared data types for the hash tool. Index ¶ type HistoryEntry type Result 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. Source Files ¶ View all Source files types.go Click to show internal directories. Click to hide internal directories.