Documentation
¶
Overview ¶
Package app provides the top app-level abstraction and entrypoint for a charon DVC instance. The sub-packages also provide app-level functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestConfig ¶
type TestConfig struct {
// Manifest provides the manifest explicitly, skips loading ManifestFile from disk.
Manifest cluster.Manifest
// P2PKey provides the p2p privkey explicitly, skips loading from keystore on disk.
P2PKey *ecdsa.PrivateKey
// PingCallback is called when a ping was completed to a peer.
PingCallback func(peer.ID)
// ExcludeManifestBootnodes excludes the manifest ENRs to be used as discv5 bootnodes.
ExcludeManifestBootnodes bool
}
TestConfig defines additional test-only config.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package errors provides errors with structured fields and stack traces.
|
Package errors provides errors with structured fields and stack traces. |
|
Package log provides global logging functions to be used throughout the charon app.
|
Package log provides global logging functions to be used throughout the charon app. |
|
Package tracer provides a global OpenTelemetry tracer.
|
Package tracer provides a global OpenTelemetry tracer. |
|
Package z provides an API for structured logging fields by wrapping zap.Field.
|
Package z provides an API for structured logging fields by wrapping zap.Field. |
Click to show internal directories.
Click to hide internal directories.