package
0.0.0-20250130044724-6b00429fa0c0
Repository: https://github.com/ngdangkietswe/swe-protobuf-shared.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux".
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux".
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux".
No description provided by the author
No description provided by the author
RegisterPermissionServiceHandler registers the http handlers for service PermissionService to "mux".
RegisterPermissionServiceHandlerClient registers the http handlers for service PermissionService to "mux".
RegisterPermissionServiceHandlerFromEndpoint is same as RegisterPermissionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterPermissionServiceHandlerServer registers the http handlers for service PermissionService to "mux".
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PermissionInternalService_ServiceDesc is the grpc.ServiceDesc for PermissionInternalService service.
PermissionService_ServiceDesc is the grpc.ServiceDesc for PermissionService service.

# Structs

PERMISSION.
ActionValidationError is the validation error returned by Action.Validate if the designated constraints aren't met.
No description provided by the author
AssignPermissionsReqValidationError is the validation error returned by AssignPermissionsReq.Validate if the designated constraints aren't met.
No description provided by the author
ChangePasswordReqValidationError is the validation error returned by ChangePasswordReq.Validate if the designated constraints aren't met.
TWO FACTOR AUTHENTICATION.
EnableOrDisable2FAReqValidationError is the validation error returned by EnableOrDisable2FAReq.Validate if the designated constraints aren't met.
No description provided by the author
EnableOrDisable2FARespValidationError is the validation error returned by EnableOrDisable2FAResp.Validate if the designated constraints aren't met.
No description provided by the author
ForgotPasswordReqValidationError is the validation error returned by ForgotPasswordReq.Validate if the designated constraints aren't met.
No description provided by the author
ListPermissionsReqValidationError is the validation error returned by ListPermissionsReq.Validate if the designated constraints aren't met.
No description provided by the author
No description provided by the author
No description provided by the author
ListPermissionsResp_DataValidationError is the validation error returned by ListPermissionsResp_Data.Validate if the designated constraints aren't met.
No description provided by the author
ListPermissionsRespValidationError is the validation error returned by ListPermissionsResp.Validate if the designated constraints aren't met.
No description provided by the author
LoginReqValidationError is the validation error returned by LoginReq.Validate if the designated constraints aren't met.
No description provided by the author
No description provided by the author
No description provided by the author
LoginResp_DataValidationError is the validation error returned by LoginResp_Data.Validate if the designated constraints aren't met.
No description provided by the author
LoginRespValidationError is the validation error returned by LoginResp.Validate if the designated constraints aren't met.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PermissionOfUserResp_DataValidationError is the validation error returned by PermissionOfUserResp_Data.Validate if the designated constraints aren't met.
No description provided by the author
PermissionOfUserRespValidationError is the validation error returned by PermissionOfUserResp.Validate if the designated constraints aren't met.
PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.
No description provided by the author
ResetPasswordReqValidationError is the validation error returned by ResetPasswordReq.Validate if the designated constraints aren't met.
No description provided by the author
ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
UnimplementedPermissionInternalServiceServer must be embedded to have forward compatible implementations.
UnimplementedPermissionServiceServer must be embedded to have forward compatible implementations.
No description provided by the author
UpsertPermissionReqValidationError is the validation error returned by UpsertPermissionReq.Validate if the designated constraints aren't met.
No description provided by the author
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

# Interfaces

AuthServiceClient is the client API for AuthService service.
AuthServiceServer is the server API for AuthService service.
PermissionInternalServiceClient is the client API for PermissionInternalService service.
PermissionInternalServiceServer is the server API for PermissionInternalService service.
PermissionServiceClient is the client API for PermissionService service.
PermissionServiceServer is the server API for PermissionService service.
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafePermissionInternalServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafePermissionServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

ActionMultiError is an error wrapping multiple validation errors returned by Action.ValidateAll() if the designated constraints aren't met.
AssignPermissionsReqMultiError is an error wrapping multiple validation errors returned by AssignPermissionsReq.ValidateAll() if the designated constraints aren't met.
ChangePasswordReqMultiError is an error wrapping multiple validation errors returned by ChangePasswordReq.ValidateAll() if the designated constraints aren't met.
EnableOrDisable2FAReqMultiError is an error wrapping multiple validation errors returned by EnableOrDisable2FAReq.ValidateAll() if the designated constraints aren't met.
EnableOrDisable2FARespMultiError is an error wrapping multiple validation errors returned by EnableOrDisable2FAResp.ValidateAll() if the designated constraints aren't met.
ForgotPasswordReqMultiError is an error wrapping multiple validation errors returned by ForgotPasswordReq.ValidateAll() if the designated constraints aren't met.
ListPermissionsReqMultiError is an error wrapping multiple validation errors returned by ListPermissionsReq.ValidateAll() if the designated constraints aren't met.
ListPermissionsResp_DataMultiError is an error wrapping multiple validation errors returned by ListPermissionsResp_Data.ValidateAll() if the designated constraints aren't met.
ListPermissionsRespMultiError is an error wrapping multiple validation errors returned by ListPermissionsResp.ValidateAll() if the designated constraints aren't met.
LoginReqMultiError is an error wrapping multiple validation errors returned by LoginReq.ValidateAll() if the designated constraints aren't met.
LoginResp_DataMultiError is an error wrapping multiple validation errors returned by LoginResp_Data.ValidateAll() if the designated constraints aren't met.
LoginRespMultiError is an error wrapping multiple validation errors returned by LoginResp.ValidateAll() if the designated constraints aren't met.
PermissionMultiError is an error wrapping multiple validation errors returned by Permission.ValidateAll() if the designated constraints aren't met.
PermissionOfUserResp_DataMultiError is an error wrapping multiple validation errors returned by PermissionOfUserResp_Data.ValidateAll() if the designated constraints aren't met.
PermissionOfUserRespMultiError is an error wrapping multiple validation errors returned by PermissionOfUserResp.ValidateAll() if the designated constraints aren't met.
ResetPasswordReqMultiError is an error wrapping multiple validation errors returned by ResetPasswordReq.ValidateAll() if the designated constraints aren't met.
ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.
UpsertPermissionReqMultiError is an error wrapping multiple validation errors returned by UpsertPermissionReq.ValidateAll() if the designated constraints aren't met.
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.