Skip to content
Snippets Groups Projects
Commit ab7c8257 authored by Balthazar Wilson's avatar Balthazar Wilson
Browse files

fix: rename agents

parent 9c3fae37
No related branches found
No related tags found
1 merge request!7Partie serveur
package restserveragent
package ballotagent
import (
"bytes"
......
package restclientagent
package voteragent
import (
"bytes"
......
......@@ -3,11 +3,11 @@ package main
import (
"fmt"
ras "gitlab.utc.fr/lagruesy/ia04/demos/restagentdemo/restserveragent"
bas "gitlab.utc.fr/gvandevi/ia04binome2a/agt/ballotagent"
)
func main() {
server := ras.NewRestServerAgent(":8080")
server := bas.NewRestServerAgent(":8080")
server.Start()
fmt.Scanln()
}
......@@ -3,11 +3,11 @@ package main
import (
"fmt"
"gitlab.utc.fr/lagruesy/ia04/demos/restagentdemo/restclientagent"
vas "gitlab.utc.fr/gvandevi/ia04binome2a/agt/voteragent"
)
func main() {
ag := restclientagent.NewRestClientAgent("id1", "http://localhost:8080", "+", 11, 1)
ag := vas.NewRestClientAgent("id1", "http://localhost:8080", "+", 11, 1)
ag.Start()
fmt.Scanln()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment