Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
v2vctl
command
|
|
|
internal
|
|
|
behavior
Package behavior scores client behavior from timing/count metadata only: connection/message/history/HTTP events, auth and protocol anomalies.
|
Package behavior scores client behavior from timing/count metadata only: connection/message/history/HTTP events, auth and protocol anomalies. |
|
chain
Package chain implements the global message log as a hash chain ("blockchain-lite"): every chat message links to the previous one, so altering any byte of any message (content, author, timestamp or ID) breaks the link and every link after it.
|
Package chain implements the global message log as a hash chain ("blockchain-lite"): every chat message links to the previous one, so altering any byte of any message (content, author, timestamp or ID) breaks the link and every link after it. |
|
codebg
Package codebg renders markdown-style code spans in chat text with a distinct terminal background, mirroring how markdown shows inline code and fenced blocks.
|
Package codebg renders markdown-style code spans in chat text with a distinct terminal background, mirroring how markdown shows inline code and fenced blocks. |
|
env
Package env is the single registry of environment variables the repo reads.
|
Package env is the single registry of environment variables the repo reads. |
|
geoip
Package geoip adapts MaxMind-format .mmdb files (GeoLite2 or compatible DB-IP Lite, operator-supplied) to the behavior.Resolver interface.
|
Package geoip adapts MaxMind-format .mmdb files (GeoLite2 or compatible DB-IP Lite, operator-supplied) to the behavior.Resolver interface. |
|
identity
Package identity holds the locally stored login identities shared by the chat client and the v2vctl management tool: a classic ed25519 key-file slot inside one versioned container.
|
Package identity holds the locally stored login identities shared by the chat client and the v2vctl management tool: a classic ed25519 key-file slot inside one versioned container. |
|
linkify
Package linkify wraps plain http(s) URLs in chat text with OSC 8 hyperlink escapes plus SGR styling, so terminals and xterm.js render a clickable, underlined, bright-blue link.
|
Package linkify wraps plain http(s) URLs in chat text with OSC 8 hyperlink escapes plus SGR styling, so terminals and xterm.js render a clickable, underlined, bright-blue link. |
|
markup
Package markup renders forum-style inline markdown (bold, italic, strikethrough), text(url) links and > quotes into terminal SGR sequences.
|
Package markup renders forum-style inline markdown (bold, italic, strikethrough), text(url) links and > quotes into terminal SGR sequences. |
|
passprompt
Package passprompt is the single shared secret-entry component for the repo: hidden password input with optional live strength meter, double-entry confirmation, and default-No confirmation.
|
Package passprompt is the single shared secret-entry component for the repo: hidden password input with optional live strength meter, double-entry confirmation, and default-No confirmation. |
|
pow
Package pow is argon2id-backed proof of work with a fine-grained sha256 difficulty search.
|
Package pow is argon2id-backed proof of work with a fine-grained sha256 difficulty search. |
|
serverconfig
Package serverconfig is the single source of truth for loading and validating the V2V server configuration.
|
Package serverconfig is the single source of truth for loading and validating the V2V server configuration. |
|
strength
Package strength owns the passphrase-strength policy for the repo: zxcvbn scoring reported as a plain Report.
|
Package strength owns the passphrase-strength policy for the repo: zxcvbn scoring reported as a plain Report. |
|
strutil
Package strutil holds one-line string helpers shared by the server and admin binaries (both are package main, so they cannot share unexported code).
|
Package strutil holds one-line string helpers shared by the server and admin binaries (both are package main, so they cannot share unexported code). |
|
trustedproxy
Package trustedproxy resolves the real client IP behind an explicit, operator-configured chain of reverse proxies.
|
Package trustedproxy resolves the real client IP behind an explicit, operator-configured chain of reverse proxies. |
|
tui
Package tui is the general terminal UI kit: confirmations and selections.
|
Package tui is the general terminal UI kit: confirmations and selections. |
|
wire
Package wire is the single source of the chat protocol schema: the structs below define every message the client and server exchange.
|
Package wire is the single source of the chat protocol schema: the structs below define every message the client and server exchange. |
|
blog
Package blog renders the server announcement pages.
|
Package blog renders the server announcement pages. |
Click to show internal directories.
Click to hide internal directories.