Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthFunc ¶
func StaticToken ¶
type Config ¶
type Config struct {
Prefix string
Auth AuthFunc
Timeout time.Duration
// AllowInsecure disables all authentication and IP allowlisting for admin
// endpoints. This exposes runtime introspection (goroutines, routes, queue
// internals) to any client that can reach the server. NEVER enable this in
// production or on a network reachable from untrusted clients.
AllowInsecure bool
AllowedIPs []string
Audit AuditFunc
}
Click to show internal directories.
Click to hide internal directories.