pkg/

directory
v1.89.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT

Directories

Path Synopsis
Package abnf provides ABNF (RFC 5234, with the RFC 7405 char-val extension) grammar parsing and input matching.
Package abnf provides ABNF (RFC 5234, with the RFC 7405 char-val extension) grammar parsing and input matching.
lint
Package lint reports on ABNF grammar definitions (RFC 5234, with the RFC 7405 char-val extension and the RFC 9110 Section 5.6.1 "#" list operator): on the whitespace and comments that minification removes, on the expressions that simplification shortens, and on the grammar itself.
Package lint reports on ABNF grammar definitions (RFC 5234, with the RFC 7405 char-val extension and the RFC 9110 Section 5.6.1 "#" list operator): on the whitespace and comments that minification removes, on the expressions that simplification shortens, and on the grammar itself.
minify
Package minify rewrites ABNF grammar definitions (RFC 5234, with the RFC 7405 char-val extension) into their smallest equivalent form.
Package minify rewrites ABNF grammar definitions (RFC 5234, with the RFC 7405 char-val extension) into their smallest equivalent form.
Package brotli wraps the Brotli implementation used for compression, keeping the rest of the module independent of the underlying library.
Package brotli wraps the Brotli implementation used for compression, keeping the rest of the module independent of the underlying library.
internal/brotli/matchfinder
The matchfinder package defines reusable components for data compression.
The matchfinder package defines reusable components for data compression.
browser
native_messaging
Package native_messaging speaks the browsers' native messaging protocol: each message is a little-endian uint32 length followed by that many bytes of JSON, over the process's own standard input and output.
Package native_messaging speaks the browsers' native messaging protocol: each message is a little-endian uint32 length followed by that many bytes of JSON, over the process's own standard input and output.
Package cbor implements the CBOR (RFC 8949) subset used by COSE structures: integers, byte strings, text strings, arrays, maps, tags, booleans, null, and undefined.
Package cbor implements the CBOR (RFC 8949) subset used by COSE structures: integers, byte strings, text strings, arrays, maps, tags, booleans, null, and undefined.
schema
Package schema implements validation of decoded CBOR values (the value model produced by github.com/altshiftab/utils_go/pkg/cbor) against schemas.
Package schema implements validation of decoded CBOR values (the value model produced by github.com/altshiftab/utils_go/pkg/cbor) against schemas.
cdp
Package cdp speaks the Chrome DevTools Protocol to a browser's DevTools WebSocket endpoint: one JSON object per message, commands answered by id, events in between.
Package cdp speaks the Chrome DevTools Protocol to a browser's DevTools WebSocket endpoint: one JSON object per message, commands answered by id, events in between.
chrome
Package chrome starts a headed Chrome and connects to it over the DevTools protocol, the way a page behind a bot check needs it driven.
Package chrome starts a headed Chrome and connects to it over the DevTools protocol, the way a page behind a bot check needs it driven.
turnstile
Package turnstile passes Cloudflare's Turnstile the way a person does: when its widget asks whether the browser is human, it clicks the box.
Package turnstile passes Cloudflare's Turnstile the way a person does: when its widget asks whether the browser is human, it clicks the box.
cli
argument_parser
Shell completions, written from a parser's own declaration.
Shell completions, written from a parser's own declaration.
cloud
entra
Package entra obtains Microsoft Entra ID (Azure AD) access tokens for app-only calls to Microsoft APIs such as Microsoft Graph.
Package entra obtains Microsoft Entra ID (Azure AD) access tokens for app-only calls to Microsoft APIs such as Microsoft Graph.
entra/types/token_source/client_assertion_token_source
Package client_assertion_token_source mints Microsoft Entra ID access tokens with the OAuth 2.0 client credentials grant, proving the application's identity with a JWT client assertion rather than a client secret.
Package client_assertion_token_source mints Microsoft Entra ID access tokens with the OAuth 2.0 client credentials grant, proving the application's identity with a JWT client assertion rather than a client secret.
gcp
gcp/cloud_scheduler
Package cloud_scheduler manages Cloud Scheduler jobs over the REST API.
Package cloud_scheduler manages Cloud Scheduler jobs over the REST API.
gcp/cloud_scheduler/cloud_scheduler_config
Package cloud_scheduler_config holds the settings of a Cloud Scheduler client.
Package cloud_scheduler_config holds the settings of a Cloud Scheduler client.
gcp/cloud_tasks
Package cloud_tasks creates and reads Cloud Tasks tasks over the REST API.
Package cloud_tasks creates and reads Cloud Tasks tasks over the REST API.
gcp/cloud_tasks/cloud_tasks_config
Package cloud_tasks_config holds the settings of a Cloud Tasks client.
Package cloud_tasks_config holds the settings of a Cloud Tasks client.
gcp/iap_request_parser
Package iap_request_parser admits a caller that Identity-Aware Proxy has already admitted, by verifying the assertion IAP signs rather than trusting that IAP was passed at all.
Package iap_request_parser admits a caller that Identity-Aware Proxy has already admitted, by verifying the assertion IAP signs rather than trusting that IAP was passed at all.
gcp/iap_request_parser/iap_request_parser_config
Package iap_request_parser_config holds the settings of an Identity-Aware Proxy request parser.
Package iap_request_parser_config holds the settings of an Identity-Aware Proxy request parser.
gcp/id_token_request_parser
Package id_token_request_parser admits a caller that presents a Google-issued ID token minted for this service by a service account it names.
Package id_token_request_parser admits a caller that presents a Google-issued ID token minted for this service by a service account it names.
gcp/id_token_request_parser/id_token_request_parser_config
Package id_token_request_parser_config holds the settings of a Google ID token request parser.
Package id_token_request_parser_config holds the settings of a Google ID token request parser.
github
Package github reads repository contents from the GitHub API, and searches public code.
Package github reads repository contents from the GitHub API, and searches public code.
github/types/blob
Package blob holds a file's contents as the GitHub API reports them.
Package blob holds a file's contents as the GitHub API reports them.
github/types/code_search
Package code_search holds what GitHub's code search answers with.
Package code_search holds what GitHub's code search answers with.
github/types/commit
Package commit holds a commit as the GitHub API reports one.
Package commit holds a commit as the GitHub API reports one.
github/types/tree
Package tree holds a repository listing as the GitHub API reports one.
Package tree holds a repository listing as the GitHub API reports one.
google_api
Package google_api reads what a Google API says when it refuses a request, and offers the retry policy that follows from it.
Package google_api reads what a Google API says when it refuses a request, and offers the retry policy that follows from it.
gws/gmail/types/profile
Package profile is a Gmail mailbox's own account of itself.
Package profile is a Gmail mailbox's own account of itself.
internal/rest
Package rest provides shared request helpers for the cloud API wrapper packages: context checking, JSON fetching, response nil-checking, and nextPageToken pagination.
Package rest provides shared request helpers for the cloud API wrapper packages: context checking, JSON fetching, response nil-checking, and nextPageToken pagination.
m365/drive
Package drive is a client for the Microsoft Graph drive API: the files and folders of OneDrive accounts and SharePoint document libraries.
Package drive is a client for the Microsoft Graph drive API: the files and folders of OneDrive accounts and SharePoint document libraries.
m365/excel
Package excel is a client for the Microsoft Graph workbook API, which edits .xlsx files stored in OneDrive or SharePoint in place.
Package excel is a client for the Microsoft Graph workbook API, which edits .xlsx files stored in OneDrive or SharePoint in place.
m365/excel/request_config
Package request_config holds the options every workbook call takes.
Package request_config holds the options every workbook call takes.
m365/internal/graph
Package graph holds what the Microsoft Graph client packages share: the base URL, escaped path construction, and @odata.nextLink pagination.
Package graph holds what the Microsoft Graph client packages share: the base URL, escaped path construction, and @odata.nextLink pagination.
container
Package correction decides whether a proposed correction to a text is small enough to be one.
Package correction decides whether a proposed correction to a text is small enough to be one.
Package cose implements COSE (RFC 9052, RFC 9053) encryption.
Package cose implements COSE (RFC 9052, RFC 9053) encryption.
rsa
sql
sql/postgres
Package postgres reads PostgreSQL-specific values and errors through database/sql without requiring a driver dependency.
Package postgres reads PostgreSQL-specific values and errors through database/sql without requiring a driver dependency.
dns
spf
encoding
qr
Package qr encodes bytes as a QR code symbol: the modules, not an image, so that whatever draws it -- an SVG path, a terminal, a PNG -- decides how.
Package qr encodes bytes as a QR code symbol: the modules, not an image, so that whatever draws it -- an SVG path, a terminal, a PNG -- decides how.
env
go
http
client_code_generation
Package client_code_generation writes the TypeScript a browser calls a mux's endpoints with: one function per endpoint, taking and returning the types the endpoint declares, so that a change to what an endpoint accepts is a compile error in the code calling it rather than a failure at the request.
Package client_code_generation writes the TypeScript a browser calls a mux's endpoints with: one function per endpoint, taking and returning the types the endpoint declares, so that a change to what an endpoint accepts is a compile error in the code calling it rather than a failure at the request.
mux
mux/types/forwarded_headers
Package forwarded_headers reads what the proxies in front of a service say about the request the client actually made: RFC 7239's `Forwarded`, and the older `X-Forwarded-*` headers it replaced.
Package forwarded_headers reads what the proxies in front of a service say about the request the client actually made: RFC 7239's `Forwarded`, and the older `X-Forwarded-*` headers it replaced.
mux/types/request_parser/choice_request_parser
Package choice_request_parser admits a request that any one of several parsers admits.
Package choice_request_parser admits a request that any one of several parsers admits.
mux/types/request_parser/choice_request_parser/choice_request_parser_config
Package choice_request_parser_config holds the settings of an ordered-choice request parser.
Package choice_request_parser_config holds the settings of an ordered-choice request parser.
mux/types/request_parser/jwk_jwt_parser
Package jwk_jwt_parser assembles a request parser that takes a JWT from a header and verifies it against a published JWK set.
Package jwk_jwt_parser assembles a request parser that takes a JWT from a header and verifies it against a published JWK set.
openapi
Package openapi writes the OpenAPI document describing a mux's endpoints: one operation per endpoint, taking and returning the types the endpoint declares, so that what the document says and what the server does come from one source.
Package openapi writes the OpenAPI document describing a mux's endpoints: one operation per endpoint, taking and returning the types the endpoint declares, so that what the document says and what the server does come from one source.
openapi/types
Package types holds the OpenAPI document model: the objects a document is made of, shaped so that marshalling one produces the document.
Package types holds the OpenAPI document model: the objects a document is made of, shaped so that marshalling one produces the document.
types/fetch_config/retry_config/response_checker
Package response_checker decides, from what an attempt came back with, whether it is worth making again.
Package response_checker decides, from what an attempt came back with, whether it is worth making again.
types/js_error_report
Package js_error_report holds what a page's own JavaScript reports about the errors it ran into: the bodies of the reports it posts, as opposed to the ones a browser posts on its own through the Reporting API.
Package js_error_report holds what a page's own JavaScript reports about the errors it ran into: the bodies of the reports it posts, as opposed to the ones a browser posts on its own through the Reporting API.
types/security_txt
Package security_txt reads the file a host serves at /.well-known/security.txt to say how a vulnerability in it should be reported.
Package security_txt reads the file a host serves at /.well-known/security.txt to say how a vulnerability in it should be reported.
types/www_authenticate
Package www_authenticate renders the challenges a 401 carries in WWW-Authenticate (RFC 9110 §11.6.1), and the Bearer ones RFC 6750 §3 defines for a request with a token that was refused.
Package www_authenticate renders the challenges a 401 carries in WWW-Authenticate (RFC 9110 §11.6.1), and the Bearer ones RFC 6750 §3 defines for a request with a token that was refused.
interfaces
Package iso3166 maps ISO 3166-1 alpha-2 country codes to their English names.
Package iso3166 maps ISO 3166-1 alpha-2 country codes to their English names.
jose/jwe
Package jwe implements JSON Web Encryption (RFC 7516) compact serialization for the ECDH-ES key agreement algorithm (RFC 7518 Section 4.6) with A256GCM content encryption (RFC 7518 Section 5.3), using NIST P-256, P-384 and P-521 keys.
Package jwe implements JSON Web Encryption (RFC 7516) compact serialization for the ECDH-ES key agreement algorithm (RFC 7518 Section 4.6) with A256GCM content encryption (RFC 7518 Section 5.3), using NIST P-256, P-384 and P-521 keys.
schema
Package schema validates JSON documents against JSON schemas, supporting draft 2020-12.
Package schema validates JSON documents against JSON schemas, supporting draft 2020-12.
schema/builder
Package builder defines a Builder type that may be used to build a [jsonschema.Schema] step by step.
Package builder defines a Builder type that may be used to build a [jsonschema.Schema] step by step.
schema/draft202012
Package draft202012 defines the keywords used by JSON schema version 2020-12.
Package draft202012 defines the keywords used by JSON schema version 2020-12.
schema/format
Package format defines format checkers for the format keyword.
Package format defines format checkers for the format keyword.
schema/internal/argtype
Package argtype defines a few helpers for schema.ArgType.
Package argtype defines a few helpers for schema.ArgType.
schema/internal/cmd/keywordgen command
keywordgen generates repetitive code for JSON schema keywords.
keywordgen generates repetitive code for JSON schema keywords.
schema/internal/cmd/testgen command
testgen downloads the current testsuite from json-schema-org and updates the tests in the tree.
testgen downloads the current testsuite from json-schema-org and updates the tests in the tree.
schema/internal/cmd/validatorgen command
validatorgen generates validator functions for different schema argument types.
validatorgen generates validator functions for different schema argument types.
schema/internal/schemacache
Package schemacache is a simple in-process cache for schemas that have been parsed.
Package schemacache is a simple in-process cache for schemas that have been parsed.
schema/internal/validator
Package validator contains functions to handle different schema arguments.
Package validator contains functions to handle different schema arguments.
schema/jsonpointer
Package jsonpointer implements JSON pointers for the jsonschema package.
Package jsonpointer implements JSON pointers for the jsonschema package.
schema/notes
Package notes defines a type that holds information passed between keywords during schema validation.
Package notes defines a type that holds information passed between keywords during schema validation.
log
handler/journal_handler
Package journal_handler adapts slog to the systemd journal, recording each record as one journal entry whose priority follows the record's level.
Package journal_handler adapts slog to the systemd journal, recording each record as one journal entry whose priority follows the record's level.
http_logger
Package http_logger makes the logger an HTTP service logs through: JSON entries carrying what is known about the request being logged, which the service's own logging calls need say nothing about.
Package http_logger makes the logger an HTTP service logs through: JSON entries carrying what is known about the request being logged, which the service's own logging calls need say nothing about.
journal
Package journal writes entries to the local systemd journal over its native protocol.
Package journal writes entries to the local systemd journal over its native protocol.
pii_hasher
Package pii_hasher names a person in a log without writing their personal data there: by a keyed hash of it, which is the same for the same value wherever the key is the same -- so that entries, and services sharing the key, can be matched on it, and an address someone gives can be looked up by hashing it -- and which no one without the key can reverse, or test a guessed value against.
Package pii_hasher names a person in a log without writing their personal data there: by a keyed hash of it, which is the same for the same value wherever the key is the same -- so that entries, and services sharing the key, can be matched on it, and an address someone gives can be looked up by hashing it -- and which no one without the key can reverse, or test a guessed value against.
net
packet
Package packet encodes and decodes the IPv4, IPv6 and TCP headers of single packets, as a raw socket sends them and a packet socket captures them.
Package packet encodes and decodes the IPv4, IPv6 and TCP headers of single packets, as a raw socket sends them and a packet socket captures them.
publicsuffix
Package publicsuffix provides a public suffix list based on data from https://publicsuffix.org/
Package publicsuffix provides a public suffix list based on data from https://publicsuffix.org/
image
Package image analyzes container images: it reads the files that record what an image holds — the OS package databases, os-release, Go binaries' build info, shipped node packages — and hands back plain findings.
Package image analyzes container images: it reads the files that record what an image holds — the OS package databases, os-release, Go binaries' build info, shipped node packages — and hands back plain findings.
image/dockerarchive
Package dockerarchive reads container images in the docker-archive format — what `podman save --format docker-archive` writes, and `docker save` in its classic layout — as a stream, resolving the layers into the final root filesystem view of the files a caller chose to capture.
Package dockerarchive reads container images in the docker-archive format — what `podman save --format docker-archive` writes, and `docker save` in its classic layout — as a stream, resolving the layers into the final root filesystem view of the files a caller chose to capture.
ospkg
Package ospkg parses the files that record which operating-system packages an image or a system holds — the apk installed database, the dpkg status database and os-release — into plain structs.
Package ospkg parses the files that record which operating-system packages an image or a system holds — the apk installed database, the dpkg status database and os-release — into plain structs.
log
sync
errgroup
Package errgroup provides synchronization, error propagation and context cancellation for groups of goroutines working on subtasks of a common task, mirroring the WithContext, Go and Wait subset of the golang.org/x/sync/errgroup API.
Package errgroup provides synchronization, error propagation and context cancellation for groups of goroutines working on subtasks of a common task, mirroring the WithContext, Go and Wait subset of the golang.org/x/sync/errgroup API.
tar
testing
cmp
tls
log
type_export
types/enum
Package enum lets a string type declare the values it may hold, for every type_export producer to render: an enum in JSON schema, a union in TypeScript and a CHECK in Postgres.
Package enum lets a string type declare the values it may hold, for every type_export producer to render: an enum in JSON schema, a union in TypeScript and a CHECK in Postgres.
types
Package webauthn implements the server-side (relying party) parts of WebAuthn used for passkey registration and authentication: ceremony option types, credential wire-format parsing (see the transport subpackage), CBOR attestation-object and authenticator-data parsing with COSE credential-key extraction, and ceremony validation.
Package webauthn implements the server-side (relying party) parts of WebAuthn used for passkey registration and authentication: ceremony option types, credential wire-format parsing (see the transport subpackage), CBOR attestation-object and authenticator-data parsing with COSE credential-key extraction, and ceremony validation.
transport
Package transport contains the JSON wire-format counterparts of the webauthn package's domain types, with base64url-encoded binary fields, and the conversions from wire format to parsed domain values.
Package transport contains the JSON wire-format counterparts of the webauthn package's domain types, with base64url-encoded binary fields, and the conversions from wire format to parsed domain values.
whois

Jump to

Keyboard shortcuts

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