package
0.0.0-20241201125214-be0c8fc5ad43
Repository: https://github.com/valek177/auth.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
RegisterUserV1Handler registers the http handlers for service UserV1 to "mux".
RegisterUserV1HandlerClient registers the http handlers for service UserV1 to "mux".
RegisterUserV1HandlerFromEndpoint is same as RegisterUserV1Handler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterUserV1HandlerServer registers the http handlers for service UserV1 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

# Variables

No description provided by the author
Enum value maps for Role.
Enum value maps for Role.
UserV1_ServiceDesc is the grpc.ServiceDesc for UserV1 service.

# Structs

CreateUserRequest is a request message for create user.
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
CreateUserResponse is a response message for create user.
CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.
DeleteUserRequest is a request message for deleting user.
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
GetUserRequest is a request message for user info.
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
GetUserResponse is a response message for user info.
GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.
UnimplementedUserV1Server must be embedded to have forward compatible implementations.
UpdateUserRequest is a request message for updating user.
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
User message describes all user info.
UserInfo message describes user info.
UserInfoValidationError is the validation error returned by UserInfo.Validate if the designated constraints aren't met.
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

# Interfaces

UnsafeUserV1Server may be embedded to opt out of forward compatibility for this service.
UserV1Client is the client API for UserV1 service.
UserV1Server is the server API for UserV1 service.

# Type aliases

CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
CreateUserResponseMultiError is an error wrapping multiple validation errors returned by CreateUserResponse.ValidateAll() if the designated constraints aren't met.
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
GetUserResponseMultiError is an error wrapping multiple validation errors returned by GetUserResponse.ValidateAll() if the designated constraints aren't met.
Role enum describes user roles.
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
UserInfoMultiError is an error wrapping multiple validation errors returned by UserInfo.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.