13 lines
277 B
Go
13 lines
277 B
Go
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
|
|
}
|