stub of payment package

This commit is contained in:
Colin Henry 2019-09-30 11:54:54 -07:00
parent ea921a3b65
commit bf7dd04b69
3 changed files with 22 additions and 0 deletions

4
payments/config.go Normal file
View File

@ -0,0 +1,4 @@
package payments
type Config struct {
}

1
payments/doc.go Normal file
View File

@ -0,0 +1 @@
package payments

17
payments/service.go Normal file
View File

@ -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) {
}