diff --git a/payments/config.go b/payments/config.go new file mode 100644 index 0000000..36a9fc6 --- /dev/null +++ b/payments/config.go @@ -0,0 +1,4 @@ +package payments + +type Config struct { +} diff --git a/payments/doc.go b/payments/doc.go new file mode 100644 index 0000000..929fe39 --- /dev/null +++ b/payments/doc.go @@ -0,0 +1 @@ +package payments diff --git a/payments/service.go b/payments/service.go new file mode 100644 index 0000000..ce5de1c --- /dev/null +++ b/payments/service.go @@ -0,0 +1,17 @@ +package payments + +import ( + jch_http "github.com/jchenry/jchenry/http" +) + +func Service(c Config) ServiceInstance { + return ServiceInstance{c: c} +} + +type ServiceInstance struct { + c Config +} + +func (si ServiceInstance) Register(uriBase string, s *jch_http.Server) { + +}