Browse Source

Add commands.go

master
Jaeha Choi 2 months ago
parent
commit
1f326adca5
Signed by: Jaeha.Choi GPG Key ID: D6133D1D117FF503
  1. 21
      commands/commands.go

21
commands/commands.go

@ -0,0 +1,21 @@
package commands
//type Command string
// Commands and responses. Perhaps using string isn't necessary.
const (
// Commands
Quit = "QUIT"
RequestRelay = "RELY"
EndRelay = "ERLY"
GetAddCode = "GADC"
RemoveAddCode = "RADC"
GetPubKey = "GPUB"
ReqPubKey = "RPUB"
// Response
Affirmation = "A"
Negation = "N"
)
Loading…
Cancel
Save