 9bdcbe0447
			
		
	
	9bdcbe0447
	
	
	
		
			
			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>
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| package multiaddr
 | |
| 
 | |
| import (
 | |
| 	"encoding"
 | |
| 	"encoding/json"
 | |
| )
 | |
| 
 | |
| /*
 | |
| Multiaddr is a cross-protocol, cross-platform format for representing
 | |
| internet addresses. It emphasizes explicitness and self-description.
 | |
| Learn more here: https://github.com/multiformats/multiaddr
 | |
| 
 | |
| Multiaddrs have both a binary and string representation.
 | |
| 
 | |
| 	import ma "github.com/multiformats/go-multiaddr"
 | |
| 
 | |
| 	addr, err := ma.NewMultiaddr("/ip4/1.2.3.4/tcp/80")
 | |
| 	// err non-nil when parsing failed.
 | |
| */
 | |
| type Multiaddr interface {
 | |
| 	json.Marshaler
 | |
| 	json.Unmarshaler
 | |
| 	encoding.TextMarshaler
 | |
| 	encoding.TextUnmarshaler
 | |
| 	encoding.BinaryMarshaler
 | |
| 	encoding.BinaryUnmarshaler
 | |
| 
 | |
| 	// Equal returns whether two Multiaddrs are exactly equal
 | |
| 	Equal(Multiaddr) bool
 | |
| 
 | |
| 	// Bytes returns the []byte representation of this Multiaddr
 | |
| 	//
 | |
| 	// This function may expose immutable, internal state. Do not modify.
 | |
| 	Bytes() []byte
 | |
| 
 | |
| 	// String returns the string representation of this Multiaddr
 | |
| 	// (may panic if internal state is corrupted)
 | |
| 	String() string
 | |
| 
 | |
| 	// Protocols returns the list of Protocols this Multiaddr includes
 | |
| 	// will panic if protocol code incorrect (and bytes accessed incorrectly)
 | |
| 	Protocols() []Protocol
 | |
| 
 | |
| 	// Encapsulate wraps this Multiaddr around another. For example:
 | |
| 	//
 | |
| 	//      /ip4/1.2.3.4 encapsulate /tcp/80 = /ip4/1.2.3.4/tcp/80
 | |
| 	//
 | |
| 	Encapsulate(Multiaddr) Multiaddr
 | |
| 
 | |
| 	// Decapsulate removes a Multiaddr wrapping. For example:
 | |
| 	//
 | |
| 	//      /ip4/1.2.3.4/tcp/80 decapsulate /tcp/80 = /ip4/1.2.3.4
 | |
| 	//      /ip4/1.2.3.4/tcp/80 decapsulate /udp/80 = /ip4/1.2.3.4/tcp/80
 | |
| 	//      /ip4/1.2.3.4/tcp/80 decapsulate /ip4/1.2.3.4 = nil
 | |
| 	//
 | |
| 	Decapsulate(Multiaddr) Multiaddr
 | |
| 
 | |
| 	// ValueForProtocol returns the value (if any) following the specified protocol
 | |
| 	//
 | |
| 	// Note: protocols can appear multiple times in a single multiaddr.
 | |
| 	// Consider using `ForEach` to walk over the addr manually.
 | |
| 	ValueForProtocol(code int) (string, error)
 | |
| }
 |