Integrate BACKBEAT SDK and resolve KACHING license validation
Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
40
vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/opts.go
generated
vendored
Normal file
40
vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/opts.go
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
package identify
|
||||
|
||||
type config struct {
|
||||
protocolVersion string
|
||||
userAgent string
|
||||
disableSignedPeerRecord bool
|
||||
metricsTracer MetricsTracer
|
||||
}
|
||||
|
||||
// Option is an option function for identify.
|
||||
type Option func(*config)
|
||||
|
||||
// ProtocolVersion sets the protocol version string that will be used to
|
||||
// identify the family of protocols used by the peer.
|
||||
func ProtocolVersion(s string) Option {
|
||||
return func(cfg *config) {
|
||||
cfg.protocolVersion = s
|
||||
}
|
||||
}
|
||||
|
||||
// UserAgent sets the user agent this node will identify itself with to peers.
|
||||
func UserAgent(ua string) Option {
|
||||
return func(cfg *config) {
|
||||
cfg.userAgent = ua
|
||||
}
|
||||
}
|
||||
|
||||
// DisableSignedPeerRecord disables populating signed peer records on the outgoing Identify response
|
||||
// and ONLY sends the unsigned addresses.
|
||||
func DisableSignedPeerRecord() Option {
|
||||
return func(cfg *config) {
|
||||
cfg.disableSignedPeerRecord = true
|
||||
}
|
||||
}
|
||||
|
||||
func WithMetricsTracer(tr MetricsTracer) Option {
|
||||
return func(cfg *config) {
|
||||
cfg.metricsTracer = tr
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user