Help us shape the future of Go! Take the 2026 Go Developer Survey

product

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package product declares lockhttp's names for lockkit and its refusal codes.

Index

Constants

View Source
const (
	CodeDenied        refusal.Code = "E_DENIED"
	CodeTimeout       refusal.Code = "E_TIMEOUT"
	CodeHostUnknown   refusal.Code = "E_HOST_UNKNOWN"
	CodeFloor         refusal.Code = "E_FLOOR"
	CodeMethod        refusal.Code = "E_METHOD"
	CodeExfilSuspect  refusal.Code = "E_EXFIL_SUSPECT"
	CodeSecretEgress  refusal.Code = "E_SECRET_EGRESS"
	CodePinned        refusal.Code = "E_PINNED"
	CodeBodyTooLarge  refusal.Code = "E_BODY_TOO_LARGE"
	CodePending       refusal.Code = "E_PENDING"
	CodeNoConsole     refusal.Code = "E_NO_CONSOLE"
	CodeClaudeParam   refusal.Code = "E_CLAUDE_API_PARAM"
	CodeSourceUnknown refusal.Code = "E_SOURCE_UNKNOWN"
	CodeRule          refusal.Code = "E_RULE"
)

Refusal codes of lockhttp. They are part of the gate's protocol (the X-LockHTTP-Code header of a refusal): never rename one.

Variables

View Source
var P = kit.Product{
	Name:            "lockhttp",
	Tagline:         "Your AI browses. You hold the key.",
	Account:         "lockhttp",
	ClientsGroup:    "lockhttp-clients",
	KeychainService: "lockhttp",
	EnvPrefix:       "LOCKHTTP_",
}

P is lockhttp as a lockkit product: its binary, directories, console account, clients group, keychain service and environment prefix.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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