diff --git a/router/types.go b/router/types.go index 52352c2d..7ef135b3 100644 --- a/router/types.go +++ b/router/types.go @@ -1,6 +1 @@ package router - -type Interaction struct { - code int - resultChan chan<- interface{} -} diff --git a/router/utils.go b/router/utils.go index c7f8059c..7f0a2b3b 100644 --- a/router/utils.go +++ b/router/utils.go @@ -7,6 +7,11 @@ import ( "net" ) +type Interaction struct { + code int + resultChan chan<- interface{} +} + func checkFatal(e error) { if e != nil { log.Fatal(e)