@@ -6,10 +6,10 @@ import (
"io"
"io/ioutil"
- "git.riomhaire.com/gremlin/jrpcserver/infrastructure/api/rpc"
- "git.riomhaire.com/gremlin/jrpcserver/model"
- "git.riomhaire.com/gremlin/jrpcserver/model/jrpcerror"
- "git.riomhaire.com/gremlin/jrpcserver/usecases/defaultcommand"
+ "jrpcserver/infrastructure/api/rpc"
+ "jrpcserver/model"
+ "jrpcserver/model/jrpcerror"
+ "jrpcserver/usecases/defaultcommand"
)
// A simple example 'helloworld' program to show how use the framework
@@ -1,4 +1,4 @@
-module git.riomhaire.com/gremlin/jrpcserver
+module jrpcserver
go 1.21.5
@@ -3,7 +3,7 @@ package rpc
import (
type Dispatcher struct {
@@ -17,9 +17,9 @@ import (
lSyslog "github.com/sirupsen/logrus/hooks/syslog"
"github.com/urfave/negroni"
- "git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry"
- "git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry/consulagent"
- "git.riomhaire.com/gremlin/jrpcserver/infrastructure/serviceregistry/none"
+ "jrpcserver/infrastructure/serviceregistry"
+ "jrpcserver/infrastructure/serviceregistry/consulagent"
+ "jrpcserver/infrastructure/serviceregistry/none"
var dispatcher *Dispatcher
@@ -6,9 +6,9 @@ dependencies:
build: dependencies
@echo Compiling Apps
- @echo --- git.riomhaire.com/gremlin/jrpcserver
- @go build git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
- @go install git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
+ @echo --- jrpcserver
+ @go build jrpcserver/infrastructure/application/riomhaire/jrpcserver
+ @go install jrpcserver/infrastructure/application/riomhaire/jrpcserver
@echo Done Compiling Apps
test:
@@ -3,7 +3,7 @@ package model
// TODO: Schema
@@ -6,8 +6,8 @@ import (
func PingCommand(config interface{}, metadata map[string]string, payload io.ReadCloser) (interface{}, jrpcerror.JrpcError) {
@@ -1,8 +1,8 @@
package usecases
var Commands []model.JRPCCommand