 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>
		
			
				
	
	
		
			23 lines
		
	
	
		
			783 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			783 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package cbor
 | |
| 
 | |
| import (
 | |
| 	"fmt"
 | |
| 
 | |
| 	. "github.com/polydawn/refmt/tok"
 | |
| )
 | |
| 
 | |
| // Error raised by Encoder when invalid tokens or invalid ordering, e.g. a MapClose with no matching open.
 | |
| // Should never be seen by the user in practice unless generating their own token streams.
 | |
| type ErrInvalidTokenStream struct {
 | |
| 	Got        Token
 | |
| 	Acceptable []TokenType
 | |
| }
 | |
| 
 | |
| func (e *ErrInvalidTokenStream) Error() string {
 | |
| 	return fmt.Sprintf("ErrInvalidTokenStream: unexpected %v, expected %v", e.Got, e.Acceptable)
 | |
| 	// More comprehensible strings might include "start of value", "start of key or end of map", "start of value or end of array".
 | |
| }
 | |
| 
 | |
| var tokenTypesForKey = []TokenType{TString, TInt, TUint}
 | |
| var tokenTypesForValue = []TokenType{TMapOpen, TArrOpen, TNull, TString, TBytes, TInt, TUint, TFloat64}
 |