mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
fix(db): always use begin tx (#7142)
* fix(db): always use begin tx * fix(handler): timeout for begin
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package crypto
|
||||
|
||||
import "context"
|
||||
|
||||
type KeyStorage interface {
|
||||
ReadKeys() (Keys, error)
|
||||
ReadKey(id string) (*Key, error)
|
||||
CreateKeys(...*Key) error
|
||||
CreateKeys(context.Context, ...*Key) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user