package
0.0.0-20250212073303-100dcab722d7
Repository: https://github.com/beiduoke/go-scaffold.git
Documentation: pkg.go.dev

# Functions

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
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

# 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
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
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
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

Enum value maps for Authority.
Enum value maps for Authority.
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service.
DeptService_ServiceDesc is the grpc.ServiceDesc for DeptService service.
Enum value maps for ErrorReason.
Enum value maps for ErrorReason.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
File_core_service_v1_post_proto
No description provided by the author
No description provided by the author
No description provided by the author
MenuService_ServiceDesc is the grpc.ServiceDesc for MenuService service.
PostService_ServiceDesc is the grpc.ServiceDesc for PostService service.
RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service.
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service.
Enum value maps for VerifyPassword.
Enum value maps for VerifyPassword.

# Structs

No description provided by the author
CreateDeptRequestValidationError is the validation error returned by CreateDeptRequest.Validate if the designated constraints aren't met.
No description provided by the author
CreateDeptResponseValidationError is the validation error returned by CreateDeptResponse.Validate if the designated constraints aren't met.
No description provided by the author
CreateMenuRequestValidationError is the validation error returned by CreateMenuRequest.Validate if the designated constraints aren't met.
No description provided by the author
CreateMenuResponseValidationError is the validation error returned by CreateMenuResponse.Validate if the designated constraints aren't met.
No description provided by the author
CreatePostRequestValidationError is the validation error returned by CreatePostRequest.Validate if the designated constraints aren't met.
No description provided by the author
CreatePostResponseValidationError is the validation error returned by CreatePostResponse.Validate if the designated constraints aren't met.
No description provided by the author
CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.
No description provided by the author
CreateRoleResponseValidationError is the validation error returned by CreateRoleResponse.Validate if the designated constraints aren't met.
No description provided by the author
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
No description provided by the author
CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.
No description provided by the author
DeleteDeptRequestValidationError is the validation error returned by DeleteDeptRequest.Validate if the designated constraints aren't met.
No description provided by the author
DeleteDeptResponseValidationError is the validation error returned by DeleteDeptResponse.Validate if the designated constraints aren't met.
No description provided by the author
DeleteMenuRequestValidationError is the validation error returned by DeleteMenuRequest.Validate if the designated constraints aren't met.
No description provided by the author
DeleteMenuResponseValidationError is the validation error returned by DeleteMenuResponse.Validate if the designated constraints aren't met.
No description provided by the author
DeletePostRequestValidationError is the validation error returned by DeletePostRequest.Validate if the designated constraints aren't met.
No description provided by the author
DeletePostResponseValidationError is the validation error returned by DeletePostResponse.Validate if the designated constraints aren't met.
No description provided by the author
DeleteRoleRequestValidationError is the validation error returned by DeleteRoleRequest.Validate if the designated constraints aren't met.
No description provided by the author
DeleteRoleResponseValidationError is the validation error returned by DeleteRoleResponse.Validate if the designated constraints aren't met.
No description provided by the author
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
No description provided by the author
DeleteUserResponseValidationError is the validation error returned by DeleteUserResponse.Validate if the designated constraints aren't met.
部门模块.
DeptValidationError is the validation error returned by Dept.Validate if the designated constraints aren't met.
No description provided by the author
GetDeptRequestValidationError is the validation error returned by GetDeptRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetDeptResponseValidationError is the validation error returned by GetDeptResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetMenuRequestValidationError is the validation error returned by GetMenuRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetMenuResponseValidationError is the validation error returned by GetMenuResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetPostRequestValidationError is the validation error returned by GetPostRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetPostResponseValidationError is the validation error returned by GetPostResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetRoleRequestValidationError is the validation error returned by GetRoleRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetRoleResponseValidationError is the validation error returned by GetRoleResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetUserByNameRequestValidationError is the validation error returned by GetUserByNameRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.
鉴权 - 请求.
IsAuthorizedRequestValidationError is the validation error returned by IsAuthorizedRequest.Validate if the designated constraints aren't met.
鉴权 - 回应.
IsAuthorizedResponseValidationError is the validation error returned by IsAuthorizedResponse.Validate if the designated constraints aren't met.
No description provided by the author
ListDeptRequestValidationError is the validation error returned by ListDeptRequest.Validate if the designated constraints aren't met.
No description provided by the author
ListDeptResponseValidationError is the validation error returned by ListDeptResponse.Validate if the designated constraints aren't met.
No description provided by the author
ListMenuRequestValidationError is the validation error returned by ListMenuRequest.Validate if the designated constraints aren't met.
No description provided by the author
ListMenuResponseValidationError is the validation error returned by ListMenuResponse.Validate if the designated constraints aren't met.
No description provided by the author
ListPostRequestValidationError is the validation error returned by ListPostRequest.Validate if the designated constraints aren't met.
No description provided by the author
ListPostResponseValidationError is the validation error returned by ListPostResponse.Validate if the designated constraints aren't met.
No description provided by the author
ListRoleRequestValidationError is the validation error returned by ListRoleRequest.Validate if the designated constraints aren't met.
No description provided by the author
ListRoleResponseValidationError is the validation error returned by ListRoleResponse.Validate if the designated constraints aren't met.
No description provided by the author
ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.
No description provided by the author
ListUserResponseValidationError is the validation error returned by ListUserResponse.Validate if the designated constraints aren't met.
菜单模块.
MenuValidationError is the validation error returned by Menu.Validate if the designated constraints aren't met.
Post
岗位模块.
PostValidationError is the validation error returned by Post.Validate if the designated constraints aren't met.
注册 - 请求.
No description provided by the author
RegisterRequest_AuthValidationError is the validation error returned by RegisterRequest_Auth.Validate if the designated constraints aren't met.
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
注册 - 回应.
RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.
角色模块.
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
UnimplementedDeptServiceServer must be embedded to have forward compatible implementations.
UnimplementedMenuServiceServer must be embedded to have forward compatible implementations.
UnimplementedPostServiceServer must be embedded to have forward compatible implementations.
UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
No description provided by the author
UpdateDeptRequestValidationError is the validation error returned by UpdateDeptRequest.Validate if the designated constraints aren't met.
No description provided by the author
UpdateDeptResponseValidationError is the validation error returned by UpdateDeptResponse.Validate if the designated constraints aren't met.
No description provided by the author
UpdateMenuRequestValidationError is the validation error returned by UpdateMenuRequest.Validate if the designated constraints aren't met.
No description provided by the author
UpdateMenuResponseValidationError is the validation error returned by UpdateMenuResponse.Validate if the designated constraints aren't met.
No description provided by the author
UpdatePostRequestValidationError is the validation error returned by UpdatePostRequest.Validate if the designated constraints aren't met.
No description provided by the author
UpdatePostResponseValidationError is the validation error returned by UpdatePostResponse.Validate if the designated constraints aren't met.
No description provided by the author
UpdateRoleRequestValidationError is the validation error returned by UpdateRoleRequest.Validate if the designated constraints aren't met.
No description provided by the author
UpdateRoleResponseValidationError is the validation error returned by UpdateRoleResponse.Validate if the designated constraints aren't met.
No description provided by the author
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
No description provided by the author
UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.
No description provided by the author
用户是否存在 - 请求.
UserExistsRequestValidationError is the validation error returned by UserExistsRequest.Validate if the designated constraints aren't met.
用户是否存在 - 回应.
UserExistsResponseValidationError is the validation error returned by UserExistsResponse.Validate if the designated constraints aren't met.
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
验证密码 - 请求.
VerifyPasswordRequestValidationError is the validation error returned by VerifyPasswordRequest.Validate if the designated constraints aren't met.
验证密码 - 回应.
VerifyPasswordResponseValidationError is the validation error returned by VerifyPasswordResponse.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.
DeptServiceClient is the client API for DeptService service.
DeptServiceServer is the server API for DeptService service.
MenuServiceClient is the client API for MenuService service.
MenuServiceServer is the server API for MenuService service.
PostServiceClient is the client API for PostService service.
PostServiceServer is the server API for PostService service.
RoleServiceClient is the client API for RoleService service.
RoleServiceServer is the server API for RoleService service.
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeDeptServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeMenuServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafePostServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service.
UserServiceClient is the client API for UserService service.
UserServiceServer is the server API for UserService service.

# Type aliases

用户权限.
CreateDeptRequestMultiError is an error wrapping multiple validation errors returned by CreateDeptRequest.ValidateAll() if the designated constraints aren't met.
CreateDeptResponseMultiError is an error wrapping multiple validation errors returned by CreateDeptResponse.ValidateAll() if the designated constraints aren't met.
CreateMenuRequestMultiError is an error wrapping multiple validation errors returned by CreateMenuRequest.ValidateAll() if the designated constraints aren't met.
CreateMenuResponseMultiError is an error wrapping multiple validation errors returned by CreateMenuResponse.ValidateAll() if the designated constraints aren't met.
CreatePostRequestMultiError is an error wrapping multiple validation errors returned by CreatePostRequest.ValidateAll() if the designated constraints aren't met.
CreatePostResponseMultiError is an error wrapping multiple validation errors returned by CreatePostResponse.ValidateAll() if the designated constraints aren't met.
CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.
CreateRoleResponseMultiError is an error wrapping multiple validation errors returned by CreateRoleResponse.ValidateAll() if the designated constraints aren't met.
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.
DeleteDeptRequestMultiError is an error wrapping multiple validation errors returned by DeleteDeptRequest.ValidateAll() if the designated constraints aren't met.
DeleteDeptResponseMultiError is an error wrapping multiple validation errors returned by DeleteDeptResponse.ValidateAll() if the designated constraints aren't met.
DeleteMenuRequestMultiError is an error wrapping multiple validation errors returned by DeleteMenuRequest.ValidateAll() if the designated constraints aren't met.
DeleteMenuResponseMultiError is an error wrapping multiple validation errors returned by DeleteMenuResponse.ValidateAll() if the designated constraints aren't met.
DeletePostRequestMultiError is an error wrapping multiple validation errors returned by DeletePostRequest.ValidateAll() if the designated constraints aren't met.
DeletePostResponseMultiError is an error wrapping multiple validation errors returned by DeletePostResponse.ValidateAll() if the designated constraints aren't met.
DeleteRoleRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleRequest.ValidateAll() if the designated constraints aren't met.
DeleteRoleResponseMultiError is an error wrapping multiple validation errors returned by DeleteRoleResponse.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.
DeleteUserResponseMultiError is an error wrapping multiple validation errors returned by DeleteUserResponse.ValidateAll() if the designated constraints aren't met.
DeptMultiError is an error wrapping multiple validation errors returned by Dept.ValidateAll() if the designated constraints aren't met.
No description provided by the author
GetDeptRequestMultiError is an error wrapping multiple validation errors returned by GetDeptRequest.ValidateAll() if the designated constraints aren't met.
GetDeptResponseMultiError is an error wrapping multiple validation errors returned by GetDeptResponse.ValidateAll() if the designated constraints aren't met.
GetMenuRequestMultiError is an error wrapping multiple validation errors returned by GetMenuRequest.ValidateAll() if the designated constraints aren't met.
GetMenuResponseMultiError is an error wrapping multiple validation errors returned by GetMenuResponse.ValidateAll() if the designated constraints aren't met.
GetPostRequestMultiError is an error wrapping multiple validation errors returned by GetPostRequest.ValidateAll() if the designated constraints aren't met.
GetPostResponseMultiError is an error wrapping multiple validation errors returned by GetPostResponse.ValidateAll() if the designated constraints aren't met.
GetRoleRequestMultiError is an error wrapping multiple validation errors returned by GetRoleRequest.ValidateAll() if the designated constraints aren't met.
GetRoleResponseMultiError is an error wrapping multiple validation errors returned by GetRoleResponse.ValidateAll() if the designated constraints aren't met.
GetUserByNameRequestMultiError is an error wrapping multiple validation errors returned by GetUserByNameRequest.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.
IsAuthorizedRequestMultiError is an error wrapping multiple validation errors returned by IsAuthorizedRequest.ValidateAll() if the designated constraints aren't met.
IsAuthorizedResponseMultiError is an error wrapping multiple validation errors returned by IsAuthorizedResponse.ValidateAll() if the designated constraints aren't met.
ListDeptRequestMultiError is an error wrapping multiple validation errors returned by ListDeptRequest.ValidateAll() if the designated constraints aren't met.
ListDeptResponseMultiError is an error wrapping multiple validation errors returned by ListDeptResponse.ValidateAll() if the designated constraints aren't met.
ListMenuRequestMultiError is an error wrapping multiple validation errors returned by ListMenuRequest.ValidateAll() if the designated constraints aren't met.
ListMenuResponseMultiError is an error wrapping multiple validation errors returned by ListMenuResponse.ValidateAll() if the designated constraints aren't met.
ListPostRequestMultiError is an error wrapping multiple validation errors returned by ListPostRequest.ValidateAll() if the designated constraints aren't met.
ListPostResponseMultiError is an error wrapping multiple validation errors returned by ListPostResponse.ValidateAll() if the designated constraints aren't met.
ListRoleRequestMultiError is an error wrapping multiple validation errors returned by ListRoleRequest.ValidateAll() if the designated constraints aren't met.
ListRoleResponseMultiError is an error wrapping multiple validation errors returned by ListRoleResponse.ValidateAll() if the designated constraints aren't met.
ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.
ListUserResponseMultiError is an error wrapping multiple validation errors returned by ListUserResponse.ValidateAll() if the designated constraints aren't met.
MenuMultiError is an error wrapping multiple validation errors returned by Menu.ValidateAll() if the designated constraints aren't met.
PostMultiError is an error wrapping multiple validation errors returned by Post.ValidateAll() if the designated constraints aren't met.
RegisterRequest_AuthMultiError is an error wrapping multiple validation errors returned by RegisterRequest_Auth.ValidateAll() if the designated constraints aren't met.
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
UpdateDeptRequestMultiError is an error wrapping multiple validation errors returned by UpdateDeptRequest.ValidateAll() if the designated constraints aren't met.
UpdateDeptResponseMultiError is an error wrapping multiple validation errors returned by UpdateDeptResponse.ValidateAll() if the designated constraints aren't met.
UpdateMenuRequestMultiError is an error wrapping multiple validation errors returned by UpdateMenuRequest.ValidateAll() if the designated constraints aren't met.
UpdateMenuResponseMultiError is an error wrapping multiple validation errors returned by UpdateMenuResponse.ValidateAll() if the designated constraints aren't met.
UpdatePostRequestMultiError is an error wrapping multiple validation errors returned by UpdatePostRequest.ValidateAll() if the designated constraints aren't met.
UpdatePostResponseMultiError is an error wrapping multiple validation errors returned by UpdatePostResponse.ValidateAll() if the designated constraints aren't met.
UpdateRoleRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleRequest.ValidateAll() if the designated constraints aren't met.
UpdateRoleResponseMultiError is an error wrapping multiple validation errors returned by UpdateRoleResponse.ValidateAll() if the designated constraints aren't met.
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
UpdateUserResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserResponse.ValidateAll() if the designated constraints aren't met.
UserExistsRequestMultiError is an error wrapping multiple validation errors returned by UserExistsRequest.ValidateAll() if the designated constraints aren't met.
UserExistsResponseMultiError is an error wrapping multiple validation errors returned by UserExistsResponse.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.
验证密码结果码.
VerifyPasswordRequestMultiError is an error wrapping multiple validation errors returned by VerifyPasswordRequest.ValidateAll() if the designated constraints aren't met.
VerifyPasswordResponseMultiError is an error wrapping multiple validation errors returned by VerifyPasswordResponse.ValidateAll() if the designated constraints aren't met.