working on messaging library, adding branching options to client
This commit is contained in:
		@@ -5,7 +5,9 @@ type ID int
 | 
			
		||||
 | 
			
		||||
// ID forces all these commands to be locked in
 | 
			
		||||
const (
 | 
			
		||||
	COMMIT ID = iota
 | 
			
		||||
	ERROR ID = iota
 | 
			
		||||
	COMMIT
 | 
			
		||||
	CONNECTED
 | 
			
		||||
	REFRESH
 | 
			
		||||
	INFO
 | 
			
		||||
	PUSH
 | 
			
		||||
@@ -17,7 +19,7 @@ const (
 | 
			
		||||
// Modifiers contains any arguments/modifiers to the command ID
 | 
			
		||||
type Modifiers struct {
 | 
			
		||||
	ModifierID   string
 | 
			
		||||
	ModifierData string
 | 
			
		||||
	ModifierData func()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Command is the structure that all messages must adhere to
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user