You've already forked openaccounting-server
mirror of
https://github.com/openaccounting/oa-server.git
synced 2025-12-09 09:00:42 +13:00
Added GET /health-check and related files
This commit is contained in:
@@ -18,6 +18,7 @@ type Datastore interface {
|
||||
PriceInterface
|
||||
SessionInterface
|
||||
ApiKeyInterface
|
||||
SystemHealthInteface
|
||||
}
|
||||
|
||||
func NewDB(dataSourceName string) (*DB, error) {
|
||||
|
||||
5
core/model/db/syshealth.go
Normal file
5
core/model/db/syshealth.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package db
|
||||
|
||||
type SystemHealthInteface interface {
|
||||
Ping() error
|
||||
}
|
||||
Reference in New Issue
Block a user