Documentation ¶
Index ¶
- func AuthNKeyByID(db *gorm.DB, table string, keyID string) (*model.AuthNKeyView, error)
- func AuthNKeyByIDs(db *gorm.DB, table, objectID, keyID string) (*model.AuthNKeyView, error)
- func AuthNKeysByObjectID(db *gorm.DB, table string, objectID string) ([]*model.AuthNKeyView, error)
- func DeleteAuthNKey(db *gorm.DB, table, keyID string) error
- func DeleteAuthNKeysByObjectID(db *gorm.DB, table, objectID string) error
- func DeleteKey(db *gorm.DB, table, keyID string, private bool) error
- func DeleteKeyPair(db *gorm.DB, table, keyID string) error
- func GetActivePublicKeys(db *gorm.DB, table string) ([]*model.KeyView, error)
- func GetSigningKey(db *gorm.DB, table string, expiry time.Time) (*model.KeyView, error)
- func KeyByIDAndType(db *gorm.DB, table, keyID string, private bool) (*model.KeyView, error)
- func KeyPairQuery(latestSequence uint64) *eventstore.SearchQueryBuilder
- func PutAuthNKey(db *gorm.DB, table string, role *model.AuthNKeyView) error
- func PutKeys(db *gorm.DB, table string, privateKey, publicKey *model.KeyView) error
- func SearchAuthNKeys(db *gorm.DB, table string, req *key_model.AuthNKeySearchRequest) ([]*model.AuthNKeyView, uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthNKeyByID ¶
func AuthNKeyByIDs ¶
func AuthNKeysByObjectID ¶
func GetActivePublicKeys ¶
func GetSigningKey ¶
func KeyByIDAndType ¶
func KeyPairQuery ¶
func KeyPairQuery(latestSequence uint64) *eventstore.SearchQueryBuilder
func PutAuthNKey ¶
func SearchAuthNKeys ¶
func SearchAuthNKeys(db *gorm.DB, table string, req *key_model.AuthNKeySearchRequest) ([]*model.AuthNKeyView, uint64, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.