stub of payment package
This commit is contained in:
parent
ea921a3b65
commit
bf7dd04b69
4
payments/config.go
Normal file
4
payments/config.go
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
package payments
|
||||||
|
|
||||||
|
type Config struct {
|
||||||
|
}
|
1
payments/doc.go
Normal file
1
payments/doc.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package payments
|
17
payments/service.go
Normal file
17
payments/service.go
Normal 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) {
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user