working on messaging library, adding branching options to client
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
module github.com/deranjer/gvc/messages
|
||||
|
||||
go 1.14
|
||||
|
||||
replace derajnet.duckdns.org/git/deranjer/gvc => ../gvc //alias for local development
|
||||
|
||||
replace github.com/deranjer/gvc => ../gvc
|
@@ -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