Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- type AuthClient
- type AuthServer
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAppId() int32
- func (x *LoginRequest) GetLogin() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccessToken() string
- func (x *LoginResponse) GetStatus() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type RefreshRequest
- type RefreshResponse
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetLogin() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetRefreshToken() string
- func (x *RegisterResponse) GetStatus() string
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) CheckPermission(context.Context, *UserPermissionRequest) (*UserPermissionResponse, error)
- func (UnimplementedAuthServer) DeleteUser(context.Context, *UserDeleteRequest) (*UserDeleteResponse, error)
- func (UnimplementedAuthServer) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error)
- func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthServer) RefreshToken(context.Context, *RefreshRequest) (*RefreshResponse, error)
- func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedAuthServer) UpdateUser(context.Context, *UserUpdateRequest) (*UserUpdateResponse, error)
- func (UnimplementedAuthServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
- type UnsafeAuthServer
- type UserDeleteRequest
- type UserDeleteResponse
- func (*UserDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeleteResponse) GetStatus() string
- func (*UserDeleteResponse) ProtoMessage()
- func (x *UserDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *UserDeleteResponse) Reset()
- func (x *UserDeleteResponse) String() string
- type UserInfoRequest
- type UserInfoResponse
- func (*UserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoResponse) GetLogin() string
- func (x *UserInfoResponse) GetPassword() string
- func (x *UserInfoResponse) GetUsername() string
- func (*UserInfoResponse) ProtoMessage()
- func (x *UserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UserInfoResponse) Reset()
- func (x *UserInfoResponse) String() string
- type UserPermissionRequest
- func (*UserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserPermissionRequest) GetUserId() int64
- func (*UserPermissionRequest) ProtoMessage()
- func (x *UserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *UserPermissionRequest) Reset()
- func (x *UserPermissionRequest) String() string
- type UserPermissionResponse
- func (*UserPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserPermissionResponse) GetPermission() string
- func (x *UserPermissionResponse) GetStatus() string
- func (*UserPermissionResponse) ProtoMessage()
- func (x *UserPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *UserPermissionResponse) Reset()
- func (x *UserPermissionResponse) String() string
- type UserUpdateRequest
- func (*UserUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateRequest) GetLogin() string
- func (x *UserUpdateRequest) GetPassword() string
- func (x *UserUpdateRequest) GetUsername() string
- func (*UserUpdateRequest) ProtoMessage()
- func (x *UserUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UserUpdateRequest) Reset()
- func (x *UserUpdateRequest) String() string
- type UserUpdateResponse
- func (*UserUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateResponse) GetStatus() string
- func (*UserUpdateResponse) ProtoMessage()
- func (x *UserUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UserUpdateResponse) Reset()
- func (x *UserUpdateResponse) String() string
- type ValidateTokenRequest
- func (*ValidateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenRequest) GetToken() string
- func (*ValidateTokenRequest) ProtoMessage()
- func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenRequest) Reset()
- func (x *ValidateTokenRequest) String() string
- type ValidateTokenResponse
- func (*ValidateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenResponse) GetStatus() string
- func (x *ValidateTokenResponse) GetType() string
- func (*ValidateTokenResponse) ProtoMessage()
- func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenResponse) Reset()
- func (x *ValidateTokenResponse) String() string
Constants ¶
const ( Auth_Register_FullMethodName = "/AuthRPC.Auth/Register" Auth_CheckPermission_FullMethodName = "/AuthRPC.Auth/CheckPermission" Auth_GetUserInfo_FullMethodName = "/AuthRPC.Auth/GetUserInfo" Auth_UpdateUser_FullMethodName = "/AuthRPC.Auth/UpdateUser" Auth_DeleteUser_FullMethodName = "/AuthRPC.Auth/DeleteUser" Auth_Login_FullMethodName = "/AuthRPC.Auth/Login" Auth_RefreshToken_FullMethodName = "/AuthRPC.Auth/RefreshToken" Auth_ValidateToken_FullMethodName = "/AuthRPC.Auth/ValidateToken" )
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AuthRPC.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Auth_Register_Handler, }, { MethodName: "CheckPermission", Handler: _Auth_CheckPermission_Handler, }, { MethodName: "GetUserInfo", Handler: _Auth_GetUserInfo_Handler, }, { MethodName: "UpdateUser", Handler: _Auth_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _Auth_DeleteUser_Handler, }, { MethodName: "Login", Handler: _Auth_Login_Handler, }, { MethodName: "RefreshToken", Handler: _Auth_RefreshToken_Handler, }, { MethodName: "ValidateToken", Handler: _Auth_ValidateToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "AuthRPC/auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_AuthRPC_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
Types ¶
type AuthClient ¶
type AuthClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) CheckPermission(ctx context.Context, in *UserPermissionRequest, opts ...grpc.CallOption) (*UserPermissionResponse, error) GetUserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoResponse, error) UpdateUser(ctx context.Context, in *UserUpdateRequest, opts ...grpc.CallOption) (*UserUpdateResponse, error) DeleteUser(ctx context.Context, in *UserDeleteRequest, opts ...grpc.CallOption) (*UserDeleteResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) RefreshToken(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) ValidateToken(ctx context.Context, in *ValidateTokenRequest, opts ...grpc.CallOption) (*ValidateTokenResponse, error) }
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthServer ¶
type AuthServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) CheckPermission(context.Context, *UserPermissionRequest) (*UserPermissionResponse, error) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error) UpdateUser(context.Context, *UserUpdateRequest) (*UserUpdateResponse, error) DeleteUser(context.Context, *UserDeleteRequest) (*UserDeleteResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) RefreshToken(context.Context, *RefreshRequest) (*RefreshResponse, error) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error) // contains filtered or unexported methods }
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility.
type LoginRequest ¶
type LoginRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` AppId int32 `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAppId ¶
func (x *LoginRequest) GetAppId() int32
func (*LoginRequest) GetLogin ¶
func (x *LoginRequest) GetLogin() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccessToken ¶
func (x *LoginResponse) GetAccessToken() string
func (*LoginResponse) GetStatus ¶
func (x *LoginResponse) GetStatus() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type RefreshRequest ¶
type RefreshRequest struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshRequest) Descriptor
deprecated
func (*RefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.
func (*RefreshRequest) GetRefreshToken ¶
func (x *RefreshRequest) GetRefreshToken() string
func (*RefreshRequest) ProtoMessage ¶
func (*RefreshRequest) ProtoMessage()
func (*RefreshRequest) ProtoReflect ¶
func (x *RefreshRequest) ProtoReflect() protoreflect.Message
func (*RefreshRequest) Reset ¶
func (x *RefreshRequest) Reset()
func (*RefreshRequest) String ¶
func (x *RefreshRequest) String() string
type RefreshResponse ¶
type RefreshResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshResponse) Descriptor
deprecated
func (*RefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.
func (*RefreshResponse) GetAccessToken ¶
func (x *RefreshResponse) GetAccessToken() string
func (*RefreshResponse) ProtoMessage ¶
func (*RefreshResponse) ProtoMessage()
func (*RefreshResponse) ProtoReflect ¶
func (x *RefreshResponse) ProtoReflect() protoreflect.Message
func (*RefreshResponse) Reset ¶
func (x *RefreshResponse) Reset()
func (*RefreshResponse) String ¶
func (x *RefreshResponse) String() string
type RegisterRequest ¶
type RegisterRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetLogin ¶
func (x *RegisterRequest) GetLogin() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetUsername ¶
func (x *RegisterRequest) GetUsername() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetRefreshToken ¶
func (x *RegisterResponse) GetRefreshToken() string
func (*RegisterResponse) GetStatus ¶
func (x *RegisterResponse) GetStatus() string
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct{}
UnimplementedAuthServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthServer) CheckPermission ¶
func (UnimplementedAuthServer) CheckPermission(context.Context, *UserPermissionRequest) (*UserPermissionResponse, error)
func (UnimplementedAuthServer) DeleteUser ¶
func (UnimplementedAuthServer) DeleteUser(context.Context, *UserDeleteRequest) (*UserDeleteResponse, error)
func (UnimplementedAuthServer) GetUserInfo ¶
func (UnimplementedAuthServer) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error)
func (UnimplementedAuthServer) Login ¶
func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServer) RefreshToken ¶
func (UnimplementedAuthServer) RefreshToken(context.Context, *RefreshRequest) (*RefreshResponse, error)
func (UnimplementedAuthServer) Register ¶
func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedAuthServer) UpdateUser ¶
func (UnimplementedAuthServer) UpdateUser(context.Context, *UserUpdateRequest) (*UserUpdateResponse, error)
func (UnimplementedAuthServer) ValidateToken ¶
func (UnimplementedAuthServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
type UnsafeAuthServer ¶
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type UserDeleteRequest ¶
type UserDeleteRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UserDeleteRequest) Descriptor
deprecated
func (*UserDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteRequest.ProtoReflect.Descriptor instead.
func (*UserDeleteRequest) GetId ¶
func (x *UserDeleteRequest) GetId() int64
func (*UserDeleteRequest) ProtoMessage ¶
func (*UserDeleteRequest) ProtoMessage()
func (*UserDeleteRequest) ProtoReflect ¶
func (x *UserDeleteRequest) ProtoReflect() protoreflect.Message
func (*UserDeleteRequest) Reset ¶
func (x *UserDeleteRequest) Reset()
func (*UserDeleteRequest) String ¶
func (x *UserDeleteRequest) String() string
type UserDeleteResponse ¶
type UserDeleteResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UserDeleteResponse) Descriptor
deprecated
func (*UserDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteResponse.ProtoReflect.Descriptor instead.
func (*UserDeleteResponse) GetStatus ¶
func (x *UserDeleteResponse) GetStatus() string
func (*UserDeleteResponse) ProtoMessage ¶
func (*UserDeleteResponse) ProtoMessage()
func (*UserDeleteResponse) ProtoReflect ¶
func (x *UserDeleteResponse) ProtoReflect() protoreflect.Message
func (*UserDeleteResponse) Reset ¶
func (x *UserDeleteResponse) Reset()
func (*UserDeleteResponse) String ¶
func (x *UserDeleteResponse) String() string
type UserInfoRequest ¶
type UserInfoRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserInfoRequest) Descriptor
deprecated
func (*UserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoRequest.ProtoReflect.Descriptor instead.
func (*UserInfoRequest) GetUserId ¶
func (x *UserInfoRequest) GetUserId() int64
func (*UserInfoRequest) ProtoMessage ¶
func (*UserInfoRequest) ProtoMessage()
func (*UserInfoRequest) ProtoReflect ¶
func (x *UserInfoRequest) ProtoReflect() protoreflect.Message
func (*UserInfoRequest) Reset ¶
func (x *UserInfoRequest) Reset()
func (*UserInfoRequest) String ¶
func (x *UserInfoRequest) String() string
type UserInfoResponse ¶
type UserInfoResponse struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserInfoResponse) Descriptor
deprecated
func (*UserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoResponse.ProtoReflect.Descriptor instead.
func (*UserInfoResponse) GetLogin ¶
func (x *UserInfoResponse) GetLogin() string
func (*UserInfoResponse) GetPassword ¶
func (x *UserInfoResponse) GetPassword() string
func (*UserInfoResponse) GetUsername ¶
func (x *UserInfoResponse) GetUsername() string
func (*UserInfoResponse) ProtoMessage ¶
func (*UserInfoResponse) ProtoMessage()
func (*UserInfoResponse) ProtoReflect ¶
func (x *UserInfoResponse) ProtoReflect() protoreflect.Message
func (*UserInfoResponse) Reset ¶
func (x *UserInfoResponse) Reset()
func (*UserInfoResponse) String ¶
func (x *UserInfoResponse) String() string
type UserPermissionRequest ¶
type UserPermissionRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserPermissionRequest) Descriptor
deprecated
func (*UserPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserPermissionRequest.ProtoReflect.Descriptor instead.
func (*UserPermissionRequest) GetUserId ¶
func (x *UserPermissionRequest) GetUserId() int64
func (*UserPermissionRequest) ProtoMessage ¶
func (*UserPermissionRequest) ProtoMessage()
func (*UserPermissionRequest) ProtoReflect ¶
func (x *UserPermissionRequest) ProtoReflect() protoreflect.Message
func (*UserPermissionRequest) Reset ¶
func (x *UserPermissionRequest) Reset()
func (*UserPermissionRequest) String ¶
func (x *UserPermissionRequest) String() string
type UserPermissionResponse ¶
type UserPermissionResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*UserPermissionResponse) Descriptor
deprecated
func (*UserPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserPermissionResponse.ProtoReflect.Descriptor instead.
func (*UserPermissionResponse) GetPermission ¶
func (x *UserPermissionResponse) GetPermission() string
func (*UserPermissionResponse) GetStatus ¶
func (x *UserPermissionResponse) GetStatus() string
func (*UserPermissionResponse) ProtoMessage ¶
func (*UserPermissionResponse) ProtoMessage()
func (*UserPermissionResponse) ProtoReflect ¶
func (x *UserPermissionResponse) ProtoReflect() protoreflect.Message
func (*UserPermissionResponse) Reset ¶
func (x *UserPermissionResponse) Reset()
func (*UserPermissionResponse) String ¶
func (x *UserPermissionResponse) String() string
type UserUpdateRequest ¶
type UserUpdateRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserUpdateRequest) Descriptor
deprecated
func (*UserUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateRequest.ProtoReflect.Descriptor instead.
func (*UserUpdateRequest) GetLogin ¶
func (x *UserUpdateRequest) GetLogin() string
func (*UserUpdateRequest) GetPassword ¶
func (x *UserUpdateRequest) GetPassword() string
func (*UserUpdateRequest) GetUsername ¶
func (x *UserUpdateRequest) GetUsername() string
func (*UserUpdateRequest) ProtoMessage ¶
func (*UserUpdateRequest) ProtoMessage()
func (*UserUpdateRequest) ProtoReflect ¶
func (x *UserUpdateRequest) ProtoReflect() protoreflect.Message
func (*UserUpdateRequest) Reset ¶
func (x *UserUpdateRequest) Reset()
func (*UserUpdateRequest) String ¶
func (x *UserUpdateRequest) String() string
type UserUpdateResponse ¶
type UserUpdateResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UserUpdateResponse) Descriptor
deprecated
func (*UserUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateResponse.ProtoReflect.Descriptor instead.
func (*UserUpdateResponse) GetStatus ¶
func (x *UserUpdateResponse) GetStatus() string
func (*UserUpdateResponse) ProtoMessage ¶
func (*UserUpdateResponse) ProtoMessage()
func (*UserUpdateResponse) ProtoReflect ¶
func (x *UserUpdateResponse) ProtoReflect() protoreflect.Message
func (*UserUpdateResponse) Reset ¶
func (x *UserUpdateResponse) Reset()
func (*UserUpdateResponse) String ¶
func (x *UserUpdateResponse) String() string
type ValidateTokenRequest ¶
type ValidateTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ValidateTokenRequest) Descriptor
deprecated
func (*ValidateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead.
func (*ValidateTokenRequest) GetToken ¶
func (x *ValidateTokenRequest) GetToken() string
func (*ValidateTokenRequest) ProtoMessage ¶
func (*ValidateTokenRequest) ProtoMessage()
func (*ValidateTokenRequest) ProtoReflect ¶
func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
func (*ValidateTokenRequest) Reset ¶
func (x *ValidateTokenRequest) Reset()
func (*ValidateTokenRequest) String ¶
func (x *ValidateTokenRequest) String() string
type ValidateTokenResponse ¶
type ValidateTokenResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ValidateTokenResponse) Descriptor
deprecated
func (*ValidateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead.
func (*ValidateTokenResponse) GetStatus ¶
func (x *ValidateTokenResponse) GetStatus() string
func (*ValidateTokenResponse) GetType ¶
func (x *ValidateTokenResponse) GetType() string
func (*ValidateTokenResponse) ProtoMessage ¶
func (*ValidateTokenResponse) ProtoMessage()
func (*ValidateTokenResponse) ProtoReflect ¶
func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
func (*ValidateTokenResponse) Reset ¶
func (x *ValidateTokenResponse) Reset()
func (*ValidateTokenResponse) String ¶
func (x *ValidateTokenResponse) String() string