package
0.0.0-20240926060520-1949246cf711
Repository: https://github.com/npoolplatform/appuser-middleware.git
Documentation: pkg.go.dev

# Functions

And groups conditions with the AND operator.
FixedError is a hook returning a fixed error.
HasAddedFields is a condition validating `.AddedField` on fields.
HasClearedFields is a condition validating `.FieldCleared` on fields.
HasFields is a condition validating `.Field` on fields.
HasOp is a condition testing mutation operation.
If executes the given hook under condition.
NewChain creates a new chain of hooks.
Not negates a given condition.
On executes the given hook only for the given operation.
Or groups conditions with the OR operator.
Reject returns a hook that rejects all operations that match op.
Unless skips the given hook only for the given operation.

# Structs

Chain acts as a list of hooks and is effectively immutable.

# Type aliases

The AppControlFunc type is an adapter to allow the use of ordinary function as AppControl mutator.
The AppFunc type is an adapter to allow the use of ordinary function as App mutator.
The AppOAuthThirdPartyFunc type is an adapter to allow the use of ordinary function as AppOAuthThirdParty mutator.
The AppRoleFunc type is an adapter to allow the use of ordinary function as AppRole mutator.
The AppRoleUserFunc type is an adapter to allow the use of ordinary function as AppRoleUser mutator.
The AppSubscribeFunc type is an adapter to allow the use of ordinary function as AppSubscribe mutator.
The AppUserControlFunc type is an adapter to allow the use of ordinary function as AppUserControl mutator.
The AppUserExtraFunc type is an adapter to allow the use of ordinary function as AppUserExtra mutator.
The AppUserFunc type is an adapter to allow the use of ordinary function as AppUser mutator.
The AppUserSecretFunc type is an adapter to allow the use of ordinary function as AppUserSecret mutator.
The AppUserThirdPartyFunc type is an adapter to allow the use of ordinary function as AppUserThirdParty mutator.
The AuthFunc type is an adapter to allow the use of ordinary function as Auth mutator.
The AuthHistoryFunc type is an adapter to allow the use of ordinary function as AuthHistory mutator.
The BanAppFunc type is an adapter to allow the use of ordinary function as BanApp mutator.
The BanAppUserFunc type is an adapter to allow the use of ordinary function as BanAppUser mutator.
Condition is a hook condition function.
The KycFunc type is an adapter to allow the use of ordinary function as Kyc mutator.
The LoginHistoryFunc type is an adapter to allow the use of ordinary function as LoginHistory mutator.
The OAuthThirdPartyFunc type is an adapter to allow the use of ordinary function as OAuthThirdParty mutator.
The PubsubMessageFunc type is an adapter to allow the use of ordinary function as PubsubMessage mutator.
The RecoveryCodeFunc type is an adapter to allow the use of ordinary function as RecoveryCode mutator.
The SubscriberFunc type is an adapter to allow the use of ordinary function as Subscriber mutator.