Documentation
¶
Overview ¶
Package core - core types like ID and Path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
func (ID) Compare ¶
Compare returns -1 if id < other, 0 if id == other, 1 if id > other. IDs are compared lexicographically, which matches byte-order comparison because the encoding preserves sort order.
func (ID) Equal ¶
Equal returns true if this ID equals the other ID
func (*ID) Scan ¶
Scan implements sql.Scanner for SQL retrieval (reads from text)
Source Files
¶
- core.go
- id.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package assert - lightweight test assertion helpers.
|
Package assert - lightweight test assertion helpers. |
|
Package config reads an app's config into a struct from three sources, each overriding the one before: TOML files, the environment, and key=value pairs from a command-line flag.
|
Package config reads an app's config into a struct from three sources, each overriding the one before: TOML files, the environment, and key=value pairs from a command-line flag. |
|
Package dbi - database abstraction with transaction management and pagination helpers.
|
Package dbi - database abstraction with transaction management and pagination helpers. |
|
Package envelope - envelope encryption of secrets at rest.
|
Package envelope - envelope encryption of secrets at rest. |
|
Package iam - identity and access management interfaces for users, sessions, roles, grants, and tenants.
|
Package iam - identity and access management interfaces for users, sessions, roles, grants, and tenants. |
|
Package metrics - in-process counters, gauges, and histograms with a bounded series count.
|
Package metrics - in-process counters, gauges, and histograms with a bounded series count. |
|
Package secret refers to secrets by name and keeps their values from leaking.
|
Package secret refers to secrets by name and keeps their values from leaking. |
|
secretfile
Package secretfile implements secret.Store as an encrypted file.
|
Package secretfile implements secret.Store as an encrypted file. |
|
Package sessions - cookie sessions backed by a hashed-secret store.
|
Package sessions - cookie sessions backed by a hashed-secret store. |
|
Package throttle - token bucket rate limiting.
|
Package throttle - token bucket rate limiting. |
|
Package tokens - temporary token storage with expiration.
|
Package tokens - temporary token storage with expiration. |
|
Package tracelog renders request-grouped logs as traces.
|
Package tracelog renders request-grouped logs as traces. |