cached gateway routing
This commit is contained in:
12
api/pkg/db/chainwalletroutes/routes.go
Normal file
12
api/pkg/db/chainwalletroutes/routes.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package chainwalletroutes
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tech/sendico/pkg/model"
|
||||
)
|
||||
|
||||
type DB interface {
|
||||
Get(ctx context.Context, organizationRef string, walletRef string) (*model.ChainWalletRoute, error)
|
||||
Upsert(ctx context.Context, route *model.ChainWalletRoute) error
|
||||
}
|
||||
Reference in New Issue
Block a user