summaryrefslogtreecommitdiff
path: root/golang/pkg/api/priority_queue.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-05-28 13:13:13 +0200
committerJulien Dessaux2024-05-28 13:13:13 +0200
commit0d00bf9fd242d3b4f9f3d6caaf5a61f8a3627d7f (patch)
tree3abe6c21ff22cd725fe1edd7e5d2e2d1478b4313 /golang/pkg/api/priority_queue.go
parent[node] send probes to visit all markets (diff)
downloadspacetraders-0d00bf9fd242d3b4f9f3d6caaf5a61f8a3627d7f.tar.gz
spacetraders-0d00bf9fd242d3b4f9f3d6caaf5a61f8a3627d7f.tar.bz2
spacetraders-0d00bf9fd242d3b4f9f3d6caaf5a61f8a3627d7f.zip
[golang] fixed golang api client design mistakes
Diffstat (limited to '')
-rw-r--r--golang/pkg/api/priority_queue.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/golang/pkg/api/priority_queue.go b/golang/pkg/api/priority_queue.go
index 077c8f7..08e3258 100644
--- a/golang/pkg/api/priority_queue.go
+++ b/golang/pkg/api/priority_queue.go
@@ -1,15 +1,5 @@
package api
-type Request struct {
- index int
- priority int
-
- method string
- path string
- payload any
- resp chan *Response
-}
-
type PriorityQueue []*Request
func (pq PriorityQueue) Len() int {