Documentation ¶
Index ¶
- Variables
- func RegisterMgmtServer(s grpc.ServiceRegistrar, srv MgmtServer)
- type Access
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetCode() string
- func (x *Account) GetId() uint32
- func (x *Account) GetName() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AddUserPermissionRequest
- func (*AddUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserPermissionRequest) GetP() *Permission
- func (x *AddUserPermissionRequest) GetUserId() uint32
- func (*AddUserPermissionRequest) ProtoMessage()
- func (x *AddUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserPermissionRequest) Reset()
- func (x *AddUserPermissionRequest) String() string
- type AddUserPermissionResponse
- func (*AddUserPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserPermissionResponse) GetOk() bool
- func (*AddUserPermissionResponse) ProtoMessage()
- func (x *AddUserPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserPermissionResponse) Reset()
- func (x *AddUserPermissionResponse) String() string
- type AttachAccountToServiceRequest
- func (*AttachAccountToServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachAccountToServiceRequest) GetAccountId() uint32
- func (x *AttachAccountToServiceRequest) GetServiceId() uint32
- func (*AttachAccountToServiceRequest) ProtoMessage()
- func (x *AttachAccountToServiceRequest) ProtoReflect() protoreflect.Message
- func (x *AttachAccountToServiceRequest) Reset()
- func (x *AttachAccountToServiceRequest) String() string
- type AttachAccountToServiceResponse
- func (*AttachAccountToServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachAccountToServiceResponse) GetOk() bool
- func (*AttachAccountToServiceResponse) ProtoMessage()
- func (x *AttachAccountToServiceResponse) ProtoReflect() protoreflect.Message
- func (x *AttachAccountToServiceResponse) Reset()
- func (x *AttachAccountToServiceResponse) String() string
- type AttachUserToAccountRequest
- func (*AttachUserToAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachUserToAccountRequest) GetAccountId() uint32
- func (x *AttachUserToAccountRequest) GetUserId() uint32
- func (*AttachUserToAccountRequest) ProtoMessage()
- func (x *AttachUserToAccountRequest) ProtoReflect() protoreflect.Message
- func (x *AttachUserToAccountRequest) Reset()
- func (x *AttachUserToAccountRequest) String() string
- type AttachUserToAccountResponse
- func (*AttachUserToAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachUserToAccountResponse) GetOk() bool
- func (*AttachUserToAccountResponse) ProtoMessage()
- func (x *AttachUserToAccountResponse) ProtoReflect() protoreflect.Message
- func (x *AttachUserToAccountResponse) Reset()
- func (x *AttachUserToAccountResponse) String() string
- type BlockUserRequest
- type BlockUserResponse
- type CreateAccountRequest
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetA() *Account
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type CreateAccountWithNameRequest
- func (*CreateAccountWithNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountWithNameRequest) GetName() string
- func (*CreateAccountWithNameRequest) ProtoMessage()
- func (x *CreateAccountWithNameRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountWithNameRequest) Reset()
- func (x *CreateAccountWithNameRequest) String() string
- type CreateAccountWithNameResponse
- func (*CreateAccountWithNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountWithNameResponse) GetA() *Account
- func (*CreateAccountWithNameResponse) ProtoMessage()
- func (x *CreateAccountWithNameResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountWithNameResponse) Reset()
- func (x *CreateAccountWithNameResponse) String() string
- type CreatePermissionRequest
- func (*CreatePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePermissionRequest) GetAccess() *Access
- func (x *CreatePermissionRequest) GetName() string
- func (x *CreatePermissionRequest) GetServiceId() uint32
- func (*CreatePermissionRequest) ProtoMessage()
- func (x *CreatePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePermissionRequest) Reset()
- func (x *CreatePermissionRequest) String() string
- type CreatePermissionResponse
- func (*CreatePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePermissionResponse) GetP() *Permission
- func (*CreatePermissionResponse) ProtoMessage()
- func (x *CreatePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePermissionResponse) Reset()
- func (x *CreatePermissionResponse) String() string
- type CreateServiceRequest
- func (*CreateServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceRequest) GetName() string
- func (*CreateServiceRequest) ProtoMessage()
- func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServiceRequest) Reset()
- func (x *CreateServiceRequest) String() string
- type CreateServiceResponse
- func (*CreateServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceResponse) GetS() *Service
- func (*CreateServiceResponse) ProtoMessage()
- func (x *CreateServiceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateServiceResponse) Reset()
- func (x *CreateServiceResponse) String() string
- type CreateUserWithLoginPasswordRequest
- func (*CreateUserWithLoginPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserWithLoginPasswordRequest) GetLogin() string
- func (x *CreateUserWithLoginPasswordRequest) GetPass() string
- func (*CreateUserWithLoginPasswordRequest) ProtoMessage()
- func (x *CreateUserWithLoginPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserWithLoginPasswordRequest) Reset()
- func (x *CreateUserWithLoginPasswordRequest) String() string
- type CreateUserWithLoginPasswordResponse
- func (*CreateUserWithLoginPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserWithLoginPasswordResponse) GetUser() *User
- func (*CreateUserWithLoginPasswordResponse) ProtoMessage()
- func (x *CreateUserWithLoginPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserWithLoginPasswordResponse) Reset()
- func (x *CreateUserWithLoginPasswordResponse) String() string
- type CreateUserWithTelegramRequest
- func (*CreateUserWithTelegramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserWithTelegramRequest) GetId() uint64
- func (x *CreateUserWithTelegramRequest) GetName() string
- func (x *CreateUserWithTelegramRequest) GetUserN() string
- func (*CreateUserWithTelegramRequest) ProtoMessage()
- func (x *CreateUserWithTelegramRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserWithTelegramRequest) Reset()
- func (x *CreateUserWithTelegramRequest) String() string
- type CreateUserWithTelegramResponse
- func (*CreateUserWithTelegramResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserWithTelegramResponse) GetUser() *User
- func (*CreateUserWithTelegramResponse) ProtoMessage()
- func (x *CreateUserWithTelegramResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserWithTelegramResponse) Reset()
- func (x *CreateUserWithTelegramResponse) String() string
- type DeletePermissionRequest
- func (*DeletePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePermissionRequest) GetP() *Permission
- func (*DeletePermissionRequest) ProtoMessage()
- func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePermissionRequest) Reset()
- func (x *DeletePermissionRequest) String() string
- type DeletePermissionResponse
- func (*DeletePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePermissionResponse) GetOk() bool
- func (*DeletePermissionResponse) ProtoMessage()
- func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePermissionResponse) Reset()
- func (x *DeletePermissionResponse) String() string
- type GetAccountRequest
- type GetAccountResponse
- type GetAllAccountsRequest
- type GetAllAccountsResponse
- func (*GetAllAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllAccountsResponse) GetAs() []*Account
- func (*GetAllAccountsResponse) ProtoMessage()
- func (x *GetAllAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllAccountsResponse) Reset()
- func (x *GetAllAccountsResponse) String() string
- type GetAllPermissionRequest
- type GetAllPermissionResponse
- func (*GetAllPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllPermissionResponse) GetP() []*Permission
- func (*GetAllPermissionResponse) ProtoMessage()
- func (x *GetAllPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllPermissionResponse) Reset()
- func (x *GetAllPermissionResponse) String() string
- type GetAllServicesRequest
- type GetAllServicesResponse
- func (*GetAllServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllServicesResponse) GetSs() []*Service
- func (*GetAllServicesResponse) ProtoMessage()
- func (x *GetAllServicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllServicesResponse) Reset()
- func (x *GetAllServicesResponse) String() string
- type GetAllUsersRequest
- type GetAllUsersResponse
- func (*GetAllUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllUsersResponse) GetUsers() []*User
- func (*GetAllUsersResponse) ProtoMessage()
- func (x *GetAllUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllUsersResponse) Reset()
- func (x *GetAllUsersResponse) String() string
- type GetFilteredPermissionsRequest
- func (*GetFilteredPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFilteredPermissionsRequest) GetP() *Permission
- func (*GetFilteredPermissionsRequest) ProtoMessage()
- func (x *GetFilteredPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetFilteredPermissionsRequest) Reset()
- func (x *GetFilteredPermissionsRequest) String() string
- type GetFilteredPermissionsResponse
- func (*GetFilteredPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFilteredPermissionsResponse) GetPerm() []*Permission
- func (*GetFilteredPermissionsResponse) ProtoMessage()
- func (x *GetFilteredPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFilteredPermissionsResponse) Reset()
- func (x *GetFilteredPermissionsResponse) String() string
- type GetPermissionRequest
- func (*GetPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionRequest) GetP() *Permission
- func (*GetPermissionRequest) ProtoMessage()
- func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionRequest) Reset()
- func (x *GetPermissionRequest) String() string
- type GetPermissionResponse
- func (*GetPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionResponse) GetPerm() *Permission
- func (*GetPermissionResponse) ProtoMessage()
- func (x *GetPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *GetPermissionResponse) Reset()
- func (x *GetPermissionResponse) String() string
- type GetServiceRequest
- type GetServiceResponse
- type GetUserPermissionsRequest
- func (*GetUserPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserPermissionsRequest) GetUserId() uint32
- func (*GetUserPermissionsRequest) ProtoMessage()
- func (x *GetUserPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserPermissionsRequest) Reset()
- func (x *GetUserPermissionsRequest) String() string
- type GetUserPermissionsResponse
- func (*GetUserPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserPermissionsResponse) GetPermissions() []*Permission
- func (*GetUserPermissionsResponse) ProtoMessage()
- func (x *GetUserPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserPermissionsResponse) Reset()
- func (x *GetUserPermissionsResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type MgmtClient
- type MgmtServer
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetAccess() uint64
- func (x *Permission) GetId() uint32
- func (x *Permission) GetName() string
- func (x *Permission) GetServiceId() uint32
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type RemoveAccountFromServiceRequest
- func (*RemoveAccountFromServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccountFromServiceRequest) GetAccountId() uint32
- func (x *RemoveAccountFromServiceRequest) GetServiceId() uint32
- func (*RemoveAccountFromServiceRequest) ProtoMessage()
- func (x *RemoveAccountFromServiceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAccountFromServiceRequest) Reset()
- func (x *RemoveAccountFromServiceRequest) String() string
- type RemoveAccountFromServiceResponse
- func (*RemoveAccountFromServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccountFromServiceResponse) GetOk() bool
- func (*RemoveAccountFromServiceResponse) ProtoMessage()
- func (x *RemoveAccountFromServiceResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveAccountFromServiceResponse) Reset()
- func (x *RemoveAccountFromServiceResponse) String() string
- type RemoveUserPermissionRequest
- func (*RemoveUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserPermissionRequest) GetPermId() uint32
- func (x *RemoveUserPermissionRequest) GetUserId() uint32
- func (*RemoveUserPermissionRequest) ProtoMessage()
- func (x *RemoveUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserPermissionRequest) Reset()
- func (x *RemoveUserPermissionRequest) String() string
- type RemoveUserPermissionResponse
- func (*RemoveUserPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserPermissionResponse) GetOk() bool
- func (*RemoveUserPermissionResponse) ProtoMessage()
- func (x *RemoveUserPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserPermissionResponse) Reset()
- func (x *RemoveUserPermissionResponse) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetCode() string
- func (x *Service) GetId() uint32
- func (x *Service) GetName() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type UnblockUserRequest
- func (*UnblockUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnblockUserRequest) GetUserId() uint32
- func (*UnblockUserRequest) ProtoMessage()
- func (x *UnblockUserRequest) ProtoReflect() protoreflect.Message
- func (x *UnblockUserRequest) Reset()
- func (x *UnblockUserRequest) String() string
- type UnblockUserResponse
- func (*UnblockUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnblockUserResponse) GetOk() bool
- func (*UnblockUserResponse) ProtoMessage()
- func (x *UnblockUserResponse) ProtoReflect() protoreflect.Message
- func (x *UnblockUserResponse) Reset()
- func (x *UnblockUserResponse) String() string
- type UnimplementedMgmtServer
- func (UnimplementedMgmtServer) AddUserPermission(context.Context, *AddUserPermissionRequest) (*AddUserPermissionResponse, error)
- func (UnimplementedMgmtServer) AttachAccountToService(context.Context, *AttachAccountToServiceRequest) (*AttachAccountToServiceResponse, error)
- func (UnimplementedMgmtServer) AttachUserToAccount(context.Context, *AttachUserToAccountRequest) (*AttachUserToAccountResponse, error)
- func (UnimplementedMgmtServer) BlockUser(context.Context, *BlockUserRequest) (*BlockUserResponse, error)
- func (UnimplementedMgmtServer) CreateAccount(context.Context, *emptypb.Empty) (*CreateAccountResponse, error)
- func (UnimplementedMgmtServer) CreateAccountWithName(context.Context, *CreateAccountWithNameRequest) (*CreateAccountWithNameResponse, error)
- func (UnimplementedMgmtServer) CreatePermission(context.Context, *CreatePermissionRequest) (*CreatePermissionResponse, error)
- func (UnimplementedMgmtServer) CreateService(context.Context, *CreateServiceRequest) (*CreateServiceResponse, error)
- func (UnimplementedMgmtServer) CreateUserWithLoginPassword(context.Context, *CreateUserWithLoginPasswordRequest) (*CreateUserWithLoginPasswordResponse, error)
- func (UnimplementedMgmtServer) CreateUserWithTelegram(context.Context, *CreateUserWithTelegramRequest) (*CreateUserWithTelegramResponse, error)
- func (UnimplementedMgmtServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
- func (UnimplementedMgmtServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
- func (UnimplementedMgmtServer) GetAllAccounts(context.Context, *emptypb.Empty) (*GetAllAccountsResponse, error)
- func (UnimplementedMgmtServer) GetAllPermission(context.Context, *emptypb.Empty) (*GetAllPermissionResponse, error)
- func (UnimplementedMgmtServer) GetAllServices(context.Context, *emptypb.Empty) (*GetAllServicesResponse, error)
- func (UnimplementedMgmtServer) GetAllUsers(context.Context, *emptypb.Empty) (*GetAllUsersResponse, error)
- func (UnimplementedMgmtServer) GetFilteredPermissions(context.Context, *GetFilteredPermissionsRequest) (*GetFilteredPermissionsResponse, error)
- func (UnimplementedMgmtServer) GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error)
- func (UnimplementedMgmtServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error)
- func (UnimplementedMgmtServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedMgmtServer) GetUserPermissions(context.Context, *GetUserPermissionsRequest) (*GetUserPermissionsResponse, error)
- func (UnimplementedMgmtServer) RemoveAccountFromService(context.Context, *RemoveAccountFromServiceRequest) (*RemoveAccountFromServiceResponse, error)
- func (UnimplementedMgmtServer) RemoveUserPermission(context.Context, *RemoveUserPermissionRequest) (*RemoveUserPermissionResponse, error)
- func (UnimplementedMgmtServer) UnblockUser(context.Context, *UnblockUserRequest) (*UnblockUserResponse, error)
- func (UnimplementedMgmtServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error)
- func (UnimplementedMgmtServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnsafeMgmtServer
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAcc() *Account
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UpdateAccountResponse
- func (*UpdateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountResponse) GetA() *Account
- func (*UpdateAccountResponse) ProtoMessage()
- func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountResponse) Reset()
- func (x *UpdateAccountResponse) String() string
- type UpdateMapAccountResponse
- func (*UpdateMapAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMapAccountResponse) GetOk() bool
- func (*UpdateMapAccountResponse) ProtoMessage()
- func (x *UpdateMapAccountResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateMapAccountResponse) Reset()
- func (x *UpdateMapAccountResponse) String() string
- type UpdateMapUserResponse
- func (*UpdateMapUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMapUserResponse) GetOk() bool
- func (*UpdateMapUserResponse) ProtoMessage()
- func (x *UpdateMapUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateMapUserResponse) Reset()
- func (x *UpdateMapUserResponse) String() string
- type UpdateUserRequest
- type UpdateUserResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccountId() uint32
- func (x *User) GetBlocked() bool
- func (x *User) GetCode() string
- func (x *User) GetId() uint32
- func (x *User) GetName() string
- func (x *User) GetParentId() uint32
- func (x *User) GetTgId() uint64
- func (x *User) GetTgName() string
- func (x *User) GetTgUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var File_service_proto protoreflect.FileDescriptor
var Mgmt_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Mgmt", HandlerType: (*MgmtServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUserWithLoginPassword", Handler: _Mgmt_CreateUserWithLoginPassword_Handler, }, { MethodName: "CreateUserWithTelegram", Handler: _Mgmt_CreateUserWithTelegram_Handler, }, { MethodName: "GetAllUsers", Handler: _Mgmt_GetAllUsers_Handler, }, { MethodName: "GetUser", Handler: _Mgmt_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _Mgmt_UpdateUser_Handler, }, { MethodName: "BlockUser", Handler: _Mgmt_BlockUser_Handler, }, { MethodName: "UnblockUser", Handler: _Mgmt_UnblockUser_Handler, }, { MethodName: "CreateService", Handler: _Mgmt_CreateService_Handler, }, { MethodName: "GetAllServices", Handler: _Mgmt_GetAllServices_Handler, }, { MethodName: "GetService", Handler: _Mgmt_GetService_Handler, }, { MethodName: "CreateAccount", Handler: _Mgmt_CreateAccount_Handler, }, { MethodName: "CreateAccountWithName", Handler: _Mgmt_CreateAccountWithName_Handler, }, { MethodName: "GetAllAccounts", Handler: _Mgmt_GetAllAccounts_Handler, }, { MethodName: "GetAccount", Handler: _Mgmt_GetAccount_Handler, }, { MethodName: "UpdateAccount", Handler: _Mgmt_UpdateAccount_Handler, }, { MethodName: "AttachUserToAccount", Handler: _Mgmt_AttachUserToAccount_Handler, }, { MethodName: "AttachAccountToService", Handler: _Mgmt_AttachAccountToService_Handler, }, { MethodName: "RemoveAccountFromService", Handler: _Mgmt_RemoveAccountFromService_Handler, }, { MethodName: "CreatePermission", Handler: _Mgmt_CreatePermission_Handler, }, { MethodName: "GetPermission", Handler: _Mgmt_GetPermission_Handler, }, { MethodName: "GetAllPermission", Handler: _Mgmt_GetAllPermission_Handler, }, { MethodName: "GetFilteredPermissions", Handler: _Mgmt_GetFilteredPermissions_Handler, }, { MethodName: "DeletePermission", Handler: _Mgmt_DeletePermission_Handler, }, { MethodName: "GetUserPermissions", Handler: _Mgmt_GetUserPermissions_Handler, }, { MethodName: "AddUserPermission", Handler: _Mgmt_AddUserPermission_Handler, }, { MethodName: "RemoveUserPermission", Handler: _Mgmt_RemoveUserPermission_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
Mgmt_ServiceDesc is the grpc.ServiceDesc for Mgmt service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMgmtServer ¶
func RegisterMgmtServer(s grpc.ServiceRegistrar, srv MgmtServer)
Types ¶
type Access ¶
type Access struct { Access uint64 `protobuf:"varint,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*Access) Descriptor
deprecated
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
type Account ¶
type Account struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AddUserPermissionRequest ¶
type AddUserPermissionRequest struct { P *Permission `protobuf:"bytes,1,opt,name=p,proto3" json:"p,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AddUserPermissionRequest) Descriptor
deprecated
func (*AddUserPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserPermissionRequest.ProtoReflect.Descriptor instead.
func (*AddUserPermissionRequest) GetP ¶
func (x *AddUserPermissionRequest) GetP() *Permission
func (*AddUserPermissionRequest) GetUserId ¶
func (x *AddUserPermissionRequest) GetUserId() uint32
func (*AddUserPermissionRequest) ProtoMessage ¶
func (*AddUserPermissionRequest) ProtoMessage()
func (*AddUserPermissionRequest) ProtoReflect ¶
func (x *AddUserPermissionRequest) ProtoReflect() protoreflect.Message
func (*AddUserPermissionRequest) Reset ¶
func (x *AddUserPermissionRequest) Reset()
func (*AddUserPermissionRequest) String ¶
func (x *AddUserPermissionRequest) String() string
type AddUserPermissionResponse ¶
type AddUserPermissionResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*AddUserPermissionResponse) Descriptor
deprecated
func (*AddUserPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserPermissionResponse.ProtoReflect.Descriptor instead.
func (*AddUserPermissionResponse) GetOk ¶
func (x *AddUserPermissionResponse) GetOk() bool
func (*AddUserPermissionResponse) ProtoMessage ¶
func (*AddUserPermissionResponse) ProtoMessage()
func (*AddUserPermissionResponse) ProtoReflect ¶
func (x *AddUserPermissionResponse) ProtoReflect() protoreflect.Message
func (*AddUserPermissionResponse) Reset ¶
func (x *AddUserPermissionResponse) Reset()
func (*AddUserPermissionResponse) String ¶
func (x *AddUserPermissionResponse) String() string
type AttachAccountToServiceRequest ¶
type AttachAccountToServiceRequest struct { ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` AccountId uint32 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*AttachAccountToServiceRequest) Descriptor
deprecated
func (*AttachAccountToServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachAccountToServiceRequest.ProtoReflect.Descriptor instead.
func (*AttachAccountToServiceRequest) GetAccountId ¶
func (x *AttachAccountToServiceRequest) GetAccountId() uint32
func (*AttachAccountToServiceRequest) GetServiceId ¶
func (x *AttachAccountToServiceRequest) GetServiceId() uint32
func (*AttachAccountToServiceRequest) ProtoMessage ¶
func (*AttachAccountToServiceRequest) ProtoMessage()
func (*AttachAccountToServiceRequest) ProtoReflect ¶
func (x *AttachAccountToServiceRequest) ProtoReflect() protoreflect.Message
func (*AttachAccountToServiceRequest) Reset ¶
func (x *AttachAccountToServiceRequest) Reset()
func (*AttachAccountToServiceRequest) String ¶
func (x *AttachAccountToServiceRequest) String() string
type AttachAccountToServiceResponse ¶
type AttachAccountToServiceResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*AttachAccountToServiceResponse) Descriptor
deprecated
func (*AttachAccountToServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachAccountToServiceResponse.ProtoReflect.Descriptor instead.
func (*AttachAccountToServiceResponse) GetOk ¶
func (x *AttachAccountToServiceResponse) GetOk() bool
func (*AttachAccountToServiceResponse) ProtoMessage ¶
func (*AttachAccountToServiceResponse) ProtoMessage()
func (*AttachAccountToServiceResponse) ProtoReflect ¶
func (x *AttachAccountToServiceResponse) ProtoReflect() protoreflect.Message
func (*AttachAccountToServiceResponse) Reset ¶
func (x *AttachAccountToServiceResponse) Reset()
func (*AttachAccountToServiceResponse) String ¶
func (x *AttachAccountToServiceResponse) String() string
type AttachUserToAccountRequest ¶
type AttachUserToAccountRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccountId uint32 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*AttachUserToAccountRequest) Descriptor
deprecated
func (*AttachUserToAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachUserToAccountRequest.ProtoReflect.Descriptor instead.
func (*AttachUserToAccountRequest) GetAccountId ¶
func (x *AttachUserToAccountRequest) GetAccountId() uint32
func (*AttachUserToAccountRequest) GetUserId ¶
func (x *AttachUserToAccountRequest) GetUserId() uint32
func (*AttachUserToAccountRequest) ProtoMessage ¶
func (*AttachUserToAccountRequest) ProtoMessage()
func (*AttachUserToAccountRequest) ProtoReflect ¶
func (x *AttachUserToAccountRequest) ProtoReflect() protoreflect.Message
func (*AttachUserToAccountRequest) Reset ¶
func (x *AttachUserToAccountRequest) Reset()
func (*AttachUserToAccountRequest) String ¶
func (x *AttachUserToAccountRequest) String() string
type AttachUserToAccountResponse ¶
type AttachUserToAccountResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*AttachUserToAccountResponse) Descriptor
deprecated
func (*AttachUserToAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachUserToAccountResponse.ProtoReflect.Descriptor instead.
func (*AttachUserToAccountResponse) GetOk ¶
func (x *AttachUserToAccountResponse) GetOk() bool
func (*AttachUserToAccountResponse) ProtoMessage ¶
func (*AttachUserToAccountResponse) ProtoMessage()
func (*AttachUserToAccountResponse) ProtoReflect ¶
func (x *AttachUserToAccountResponse) ProtoReflect() protoreflect.Message
func (*AttachUserToAccountResponse) Reset ¶
func (x *AttachUserToAccountResponse) Reset()
func (*AttachUserToAccountResponse) String ¶
func (x *AttachUserToAccountResponse) String() string
type BlockUserRequest ¶
type BlockUserRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*BlockUserRequest) Descriptor
deprecated
func (*BlockUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockUserRequest.ProtoReflect.Descriptor instead.
func (*BlockUserRequest) GetUserId ¶
func (x *BlockUserRequest) GetUserId() uint32
func (*BlockUserRequest) ProtoMessage ¶
func (*BlockUserRequest) ProtoMessage()
func (*BlockUserRequest) ProtoReflect ¶
func (x *BlockUserRequest) ProtoReflect() protoreflect.Message
func (*BlockUserRequest) Reset ¶
func (x *BlockUserRequest) Reset()
func (*BlockUserRequest) String ¶
func (x *BlockUserRequest) String() string
type BlockUserResponse ¶
type BlockUserResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*BlockUserResponse) Descriptor
deprecated
func (*BlockUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockUserResponse.ProtoReflect.Descriptor instead.
func (*BlockUserResponse) GetOk ¶
func (x *BlockUserResponse) GetOk() bool
func (*BlockUserResponse) ProtoMessage ¶
func (*BlockUserResponse) ProtoMessage()
func (*BlockUserResponse) ProtoReflect ¶
func (x *BlockUserResponse) ProtoReflect() protoreflect.Message
func (*BlockUserResponse) Reset ¶
func (x *BlockUserResponse) Reset()
func (*BlockUserResponse) String ¶
func (x *BlockUserResponse) String() string
type CreateAccountRequest ¶
type CreateAccountRequest struct {
// contains filtered or unexported fields
}
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶
type CreateAccountResponse struct { A *Account `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetA ¶
func (x *CreateAccountResponse) GetA() *Account
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
type CreateAccountWithNameRequest ¶
type CreateAccountWithNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountWithNameRequest) Descriptor
deprecated
func (*CreateAccountWithNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountWithNameRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountWithNameRequest) GetName ¶
func (x *CreateAccountWithNameRequest) GetName() string
func (*CreateAccountWithNameRequest) ProtoMessage ¶
func (*CreateAccountWithNameRequest) ProtoMessage()
func (*CreateAccountWithNameRequest) ProtoReflect ¶
func (x *CreateAccountWithNameRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountWithNameRequest) Reset ¶
func (x *CreateAccountWithNameRequest) Reset()
func (*CreateAccountWithNameRequest) String ¶
func (x *CreateAccountWithNameRequest) String() string
type CreateAccountWithNameResponse ¶
type CreateAccountWithNameResponse struct { A *Account `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountWithNameResponse) Descriptor
deprecated
func (*CreateAccountWithNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountWithNameResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountWithNameResponse) GetA ¶
func (x *CreateAccountWithNameResponse) GetA() *Account
func (*CreateAccountWithNameResponse) ProtoMessage ¶
func (*CreateAccountWithNameResponse) ProtoMessage()
func (*CreateAccountWithNameResponse) ProtoReflect ¶
func (x *CreateAccountWithNameResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountWithNameResponse) Reset ¶
func (x *CreateAccountWithNameResponse) Reset()
func (*CreateAccountWithNameResponse) String ¶
func (x *CreateAccountWithNameResponse) String() string
type CreatePermissionRequest ¶
type CreatePermissionRequest struct { ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Access *Access `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*CreatePermissionRequest) Descriptor
deprecated
func (*CreatePermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePermissionRequest.ProtoReflect.Descriptor instead.
func (*CreatePermissionRequest) GetAccess ¶
func (x *CreatePermissionRequest) GetAccess() *Access
func (*CreatePermissionRequest) GetName ¶
func (x *CreatePermissionRequest) GetName() string
func (*CreatePermissionRequest) GetServiceId ¶
func (x *CreatePermissionRequest) GetServiceId() uint32
func (*CreatePermissionRequest) ProtoMessage ¶
func (*CreatePermissionRequest) ProtoMessage()
func (*CreatePermissionRequest) ProtoReflect ¶
func (x *CreatePermissionRequest) ProtoReflect() protoreflect.Message
func (*CreatePermissionRequest) Reset ¶
func (x *CreatePermissionRequest) Reset()
func (*CreatePermissionRequest) String ¶
func (x *CreatePermissionRequest) String() string
type CreatePermissionResponse ¶
type CreatePermissionResponse struct { P *Permission `protobuf:"bytes,1,opt,name=p,proto3" json:"p,omitempty"` // contains filtered or unexported fields }
func (*CreatePermissionResponse) Descriptor
deprecated
func (*CreatePermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePermissionResponse.ProtoReflect.Descriptor instead.
func (*CreatePermissionResponse) GetP ¶
func (x *CreatePermissionResponse) GetP() *Permission
func (*CreatePermissionResponse) ProtoMessage ¶
func (*CreatePermissionResponse) ProtoMessage()
func (*CreatePermissionResponse) ProtoReflect ¶
func (x *CreatePermissionResponse) ProtoReflect() protoreflect.Message
func (*CreatePermissionResponse) Reset ¶
func (x *CreatePermissionResponse) Reset()
func (*CreatePermissionResponse) String ¶
func (x *CreatePermissionResponse) String() string
type CreateServiceRequest ¶
type CreateServiceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateServiceRequest) Descriptor
deprecated
func (*CreateServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceRequest) GetName ¶
func (x *CreateServiceRequest) GetName() string
func (*CreateServiceRequest) ProtoMessage ¶
func (*CreateServiceRequest) ProtoMessage()
func (*CreateServiceRequest) ProtoReflect ¶
func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
func (*CreateServiceRequest) Reset ¶
func (x *CreateServiceRequest) Reset()
func (*CreateServiceRequest) String ¶
func (x *CreateServiceRequest) String() string
type CreateServiceResponse ¶
type CreateServiceResponse struct { S *Service `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"` // contains filtered or unexported fields }
func (*CreateServiceResponse) Descriptor
deprecated
func (*CreateServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceResponse.ProtoReflect.Descriptor instead.
func (*CreateServiceResponse) GetS ¶
func (x *CreateServiceResponse) GetS() *Service
func (*CreateServiceResponse) ProtoMessage ¶
func (*CreateServiceResponse) ProtoMessage()
func (*CreateServiceResponse) ProtoReflect ¶
func (x *CreateServiceResponse) ProtoReflect() protoreflect.Message
func (*CreateServiceResponse) Reset ¶
func (x *CreateServiceResponse) Reset()
func (*CreateServiceResponse) String ¶
func (x *CreateServiceResponse) String() string
type CreateUserWithLoginPasswordRequest ¶
type CreateUserWithLoginPasswordRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Pass string `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"` // contains filtered or unexported fields }
func (*CreateUserWithLoginPasswordRequest) Descriptor
deprecated
func (*CreateUserWithLoginPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserWithLoginPasswordRequest.ProtoReflect.Descriptor instead.
func (*CreateUserWithLoginPasswordRequest) GetLogin ¶
func (x *CreateUserWithLoginPasswordRequest) GetLogin() string
func (*CreateUserWithLoginPasswordRequest) GetPass ¶
func (x *CreateUserWithLoginPasswordRequest) GetPass() string
func (*CreateUserWithLoginPasswordRequest) ProtoMessage ¶
func (*CreateUserWithLoginPasswordRequest) ProtoMessage()
func (*CreateUserWithLoginPasswordRequest) ProtoReflect ¶
func (x *CreateUserWithLoginPasswordRequest) ProtoReflect() protoreflect.Message
func (*CreateUserWithLoginPasswordRequest) Reset ¶
func (x *CreateUserWithLoginPasswordRequest) Reset()
func (*CreateUserWithLoginPasswordRequest) String ¶
func (x *CreateUserWithLoginPasswordRequest) String() string
type CreateUserWithLoginPasswordResponse ¶
type CreateUserWithLoginPasswordResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserWithLoginPasswordResponse) Descriptor
deprecated
func (*CreateUserWithLoginPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserWithLoginPasswordResponse.ProtoReflect.Descriptor instead.
func (*CreateUserWithLoginPasswordResponse) GetUser ¶
func (x *CreateUserWithLoginPasswordResponse) GetUser() *User
func (*CreateUserWithLoginPasswordResponse) ProtoMessage ¶
func (*CreateUserWithLoginPasswordResponse) ProtoMessage()
func (*CreateUserWithLoginPasswordResponse) ProtoReflect ¶
func (x *CreateUserWithLoginPasswordResponse) ProtoReflect() protoreflect.Message
func (*CreateUserWithLoginPasswordResponse) Reset ¶
func (x *CreateUserWithLoginPasswordResponse) Reset()
func (*CreateUserWithLoginPasswordResponse) String ¶
func (x *CreateUserWithLoginPasswordResponse) String() string
type CreateUserWithTelegramRequest ¶
type CreateUserWithTelegramRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` UserN string `protobuf:"bytes,3,opt,name=user_n,json=userN,proto3" json:"user_n,omitempty"` // contains filtered or unexported fields }
func (*CreateUserWithTelegramRequest) Descriptor
deprecated
func (*CreateUserWithTelegramRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserWithTelegramRequest.ProtoReflect.Descriptor instead.
func (*CreateUserWithTelegramRequest) GetId ¶
func (x *CreateUserWithTelegramRequest) GetId() uint64
func (*CreateUserWithTelegramRequest) GetName ¶
func (x *CreateUserWithTelegramRequest) GetName() string
func (*CreateUserWithTelegramRequest) GetUserN ¶
func (x *CreateUserWithTelegramRequest) GetUserN() string
func (*CreateUserWithTelegramRequest) ProtoMessage ¶
func (*CreateUserWithTelegramRequest) ProtoMessage()
func (*CreateUserWithTelegramRequest) ProtoReflect ¶
func (x *CreateUserWithTelegramRequest) ProtoReflect() protoreflect.Message
func (*CreateUserWithTelegramRequest) Reset ¶
func (x *CreateUserWithTelegramRequest) Reset()
func (*CreateUserWithTelegramRequest) String ¶
func (x *CreateUserWithTelegramRequest) String() string
type CreateUserWithTelegramResponse ¶
type CreateUserWithTelegramResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserWithTelegramResponse) Descriptor
deprecated
func (*CreateUserWithTelegramResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserWithTelegramResponse.ProtoReflect.Descriptor instead.
func (*CreateUserWithTelegramResponse) GetUser ¶
func (x *CreateUserWithTelegramResponse) GetUser() *User
func (*CreateUserWithTelegramResponse) ProtoMessage ¶
func (*CreateUserWithTelegramResponse) ProtoMessage()
func (*CreateUserWithTelegramResponse) ProtoReflect ¶
func (x *CreateUserWithTelegramResponse) ProtoReflect() protoreflect.Message
func (*CreateUserWithTelegramResponse) Reset ¶
func (x *CreateUserWithTelegramResponse) Reset()
func (*CreateUserWithTelegramResponse) String ¶
func (x *CreateUserWithTelegramResponse) String() string
type DeletePermissionRequest ¶
type DeletePermissionRequest struct { P *Permission `protobuf:"bytes,1,opt,name=p,proto3" json:"p,omitempty"` // contains filtered or unexported fields }
func (*DeletePermissionRequest) Descriptor
deprecated
func (*DeletePermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.
func (*DeletePermissionRequest) GetP ¶
func (x *DeletePermissionRequest) GetP() *Permission
func (*DeletePermissionRequest) ProtoMessage ¶
func (*DeletePermissionRequest) ProtoMessage()
func (*DeletePermissionRequest) ProtoReflect ¶
func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message
func (*DeletePermissionRequest) Reset ¶
func (x *DeletePermissionRequest) Reset()
func (*DeletePermissionRequest) String ¶
func (x *DeletePermissionRequest) String() string
type DeletePermissionResponse ¶
type DeletePermissionResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*DeletePermissionResponse) Descriptor
deprecated
func (*DeletePermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.
func (*DeletePermissionResponse) GetOk ¶
func (x *DeletePermissionResponse) GetOk() bool
func (*DeletePermissionResponse) ProtoMessage ¶
func (*DeletePermissionResponse) ProtoMessage()
func (*DeletePermissionResponse) ProtoReflect ¶
func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message
func (*DeletePermissionResponse) Reset ¶
func (x *DeletePermissionResponse) Reset()
func (*DeletePermissionResponse) String ¶
func (x *DeletePermissionResponse) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { Acc *Account `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetAcc ¶
func (x *GetAccountRequest) GetAcc() *Account
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct { A *Account `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetA ¶
func (x *GetAccountResponse) GetA() *Account
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
type GetAllAccountsRequest ¶
type GetAllAccountsRequest struct {
// contains filtered or unexported fields
}
func (*GetAllAccountsRequest) Descriptor
deprecated
func (*GetAllAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAccountsRequest.ProtoReflect.Descriptor instead.
func (*GetAllAccountsRequest) ProtoMessage ¶
func (*GetAllAccountsRequest) ProtoMessage()
func (*GetAllAccountsRequest) ProtoReflect ¶
func (x *GetAllAccountsRequest) ProtoReflect() protoreflect.Message
func (*GetAllAccountsRequest) Reset ¶
func (x *GetAllAccountsRequest) Reset()
func (*GetAllAccountsRequest) String ¶
func (x *GetAllAccountsRequest) String() string
type GetAllAccountsResponse ¶
type GetAllAccountsResponse struct { As []*Account `protobuf:"bytes,1,rep,name=as,proto3" json:"as,omitempty"` // contains filtered or unexported fields }
func (*GetAllAccountsResponse) Descriptor
deprecated
func (*GetAllAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAccountsResponse.ProtoReflect.Descriptor instead.
func (*GetAllAccountsResponse) GetAs ¶
func (x *GetAllAccountsResponse) GetAs() []*Account
func (*GetAllAccountsResponse) ProtoMessage ¶
func (*GetAllAccountsResponse) ProtoMessage()
func (*GetAllAccountsResponse) ProtoReflect ¶
func (x *GetAllAccountsResponse) ProtoReflect() protoreflect.Message
func (*GetAllAccountsResponse) Reset ¶
func (x *GetAllAccountsResponse) Reset()
func (*GetAllAccountsResponse) String ¶
func (x *GetAllAccountsResponse) String() string
type GetAllPermissionRequest ¶
type GetAllPermissionRequest struct {
// contains filtered or unexported fields
}
func (*GetAllPermissionRequest) Descriptor
deprecated
func (*GetAllPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllPermissionRequest.ProtoReflect.Descriptor instead.
func (*GetAllPermissionRequest) ProtoMessage ¶
func (*GetAllPermissionRequest) ProtoMessage()
func (*GetAllPermissionRequest) ProtoReflect ¶
func (x *GetAllPermissionRequest) ProtoReflect() protoreflect.Message
func (*GetAllPermissionRequest) Reset ¶
func (x *GetAllPermissionRequest) Reset()
func (*GetAllPermissionRequest) String ¶
func (x *GetAllPermissionRequest) String() string
type GetAllPermissionResponse ¶
type GetAllPermissionResponse struct { P []*Permission `protobuf:"bytes,1,rep,name=p,proto3" json:"p,omitempty"` // contains filtered or unexported fields }
func (*GetAllPermissionResponse) Descriptor
deprecated
func (*GetAllPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllPermissionResponse.ProtoReflect.Descriptor instead.
func (*GetAllPermissionResponse) GetP ¶
func (x *GetAllPermissionResponse) GetP() []*Permission
func (*GetAllPermissionResponse) ProtoMessage ¶
func (*GetAllPermissionResponse) ProtoMessage()
func (*GetAllPermissionResponse) ProtoReflect ¶
func (x *GetAllPermissionResponse) ProtoReflect() protoreflect.Message
func (*GetAllPermissionResponse) Reset ¶
func (x *GetAllPermissionResponse) Reset()
func (*GetAllPermissionResponse) String ¶
func (x *GetAllPermissionResponse) String() string
type GetAllServicesRequest ¶
type GetAllServicesRequest struct {
// contains filtered or unexported fields
}
func (*GetAllServicesRequest) Descriptor
deprecated
func (*GetAllServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServicesRequest.ProtoReflect.Descriptor instead.
func (*GetAllServicesRequest) ProtoMessage ¶
func (*GetAllServicesRequest) ProtoMessage()
func (*GetAllServicesRequest) ProtoReflect ¶
func (x *GetAllServicesRequest) ProtoReflect() protoreflect.Message
func (*GetAllServicesRequest) Reset ¶
func (x *GetAllServicesRequest) Reset()
func (*GetAllServicesRequest) String ¶
func (x *GetAllServicesRequest) String() string
type GetAllServicesResponse ¶
type GetAllServicesResponse struct { Ss []*Service `protobuf:"bytes,1,rep,name=ss,proto3" json:"ss,omitempty"` // contains filtered or unexported fields }
func (*GetAllServicesResponse) Descriptor
deprecated
func (*GetAllServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServicesResponse.ProtoReflect.Descriptor instead.
func (*GetAllServicesResponse) GetSs ¶
func (x *GetAllServicesResponse) GetSs() []*Service
func (*GetAllServicesResponse) ProtoMessage ¶
func (*GetAllServicesResponse) ProtoMessage()
func (*GetAllServicesResponse) ProtoReflect ¶
func (x *GetAllServicesResponse) ProtoReflect() protoreflect.Message
func (*GetAllServicesResponse) Reset ¶
func (x *GetAllServicesResponse) Reset()
func (*GetAllServicesResponse) String ¶
func (x *GetAllServicesResponse) String() string
type GetAllUsersRequest ¶
type GetAllUsersRequest struct {
// contains filtered or unexported fields
}
func (*GetAllUsersRequest) Descriptor
deprecated
func (*GetAllUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllUsersRequest.ProtoReflect.Descriptor instead.
func (*GetAllUsersRequest) ProtoMessage ¶
func (*GetAllUsersRequest) ProtoMessage()
func (*GetAllUsersRequest) ProtoReflect ¶
func (x *GetAllUsersRequest) ProtoReflect() protoreflect.Message
func (*GetAllUsersRequest) Reset ¶
func (x *GetAllUsersRequest) Reset()
func (*GetAllUsersRequest) String ¶
func (x *GetAllUsersRequest) String() string
type GetAllUsersResponse ¶
type GetAllUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*GetAllUsersResponse) Descriptor
deprecated
func (*GetAllUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllUsersResponse.ProtoReflect.Descriptor instead.
func (*GetAllUsersResponse) GetUsers ¶
func (x *GetAllUsersResponse) GetUsers() []*User
func (*GetAllUsersResponse) ProtoMessage ¶
func (*GetAllUsersResponse) ProtoMessage()
func (*GetAllUsersResponse) ProtoReflect ¶
func (x *GetAllUsersResponse) ProtoReflect() protoreflect.Message
func (*GetAllUsersResponse) Reset ¶
func (x *GetAllUsersResponse) Reset()
func (*GetAllUsersResponse) String ¶
func (x *GetAllUsersResponse) String() string
type GetFilteredPermissionsRequest ¶
type GetFilteredPermissionsRequest struct { P *Permission `protobuf:"bytes,1,opt,name=p,proto3" json:"p,omitempty"` // contains filtered or unexported fields }
func (*GetFilteredPermissionsRequest) Descriptor
deprecated
func (*GetFilteredPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFilteredPermissionsRequest.ProtoReflect.Descriptor instead.
func (*GetFilteredPermissionsRequest) GetP ¶
func (x *GetFilteredPermissionsRequest) GetP() *Permission
func (*GetFilteredPermissionsRequest) ProtoMessage ¶
func (*GetFilteredPermissionsRequest) ProtoMessage()
func (*GetFilteredPermissionsRequest) ProtoReflect ¶
func (x *GetFilteredPermissionsRequest) ProtoReflect() protoreflect.Message
func (*GetFilteredPermissionsRequest) Reset ¶
func (x *GetFilteredPermissionsRequest) Reset()
func (*GetFilteredPermissionsRequest) String ¶
func (x *GetFilteredPermissionsRequest) String() string
type GetFilteredPermissionsResponse ¶
type GetFilteredPermissionsResponse struct { Perm []*Permission `protobuf:"bytes,1,rep,name=perm,proto3" json:"perm,omitempty"` // contains filtered or unexported fields }
func (*GetFilteredPermissionsResponse) Descriptor
deprecated
func (*GetFilteredPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFilteredPermissionsResponse.ProtoReflect.Descriptor instead.
func (*GetFilteredPermissionsResponse) GetPerm ¶
func (x *GetFilteredPermissionsResponse) GetPerm() []*Permission
func (*GetFilteredPermissionsResponse) ProtoMessage ¶
func (*GetFilteredPermissionsResponse) ProtoMessage()
func (*GetFilteredPermissionsResponse) ProtoReflect ¶
func (x *GetFilteredPermissionsResponse) ProtoReflect() protoreflect.Message
func (*GetFilteredPermissionsResponse) Reset ¶
func (x *GetFilteredPermissionsResponse) Reset()
func (*GetFilteredPermissionsResponse) String ¶
func (x *GetFilteredPermissionsResponse) String() string
type GetPermissionRequest ¶
type GetPermissionRequest struct { P *Permission `protobuf:"bytes,1,opt,name=p,proto3" json:"p,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionRequest) Descriptor
deprecated
func (*GetPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionRequest.ProtoReflect.Descriptor instead.
func (*GetPermissionRequest) GetP ¶
func (x *GetPermissionRequest) GetP() *Permission
func (*GetPermissionRequest) ProtoMessage ¶
func (*GetPermissionRequest) ProtoMessage()
func (*GetPermissionRequest) ProtoReflect ¶
func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message
func (*GetPermissionRequest) Reset ¶
func (x *GetPermissionRequest) Reset()
func (*GetPermissionRequest) String ¶
func (x *GetPermissionRequest) String() string
type GetPermissionResponse ¶
type GetPermissionResponse struct { Perm *Permission `protobuf:"bytes,1,opt,name=perm,proto3" json:"perm,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionResponse) Descriptor
deprecated
func (*GetPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionResponse.ProtoReflect.Descriptor instead.
func (*GetPermissionResponse) GetPerm ¶
func (x *GetPermissionResponse) GetPerm() *Permission
func (*GetPermissionResponse) ProtoMessage ¶
func (*GetPermissionResponse) ProtoMessage()
func (*GetPermissionResponse) ProtoReflect ¶
func (x *GetPermissionResponse) ProtoReflect() protoreflect.Message
func (*GetPermissionResponse) Reset ¶
func (x *GetPermissionResponse) Reset()
func (*GetPermissionResponse) String ¶
func (x *GetPermissionResponse) String() string
type GetServiceRequest ¶
type GetServiceRequest struct { Svc *Service `protobuf:"bytes,1,opt,name=svc,proto3" json:"svc,omitempty"` // contains filtered or unexported fields }
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetSvc ¶
func (x *GetServiceRequest) GetSvc() *Service
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type GetServiceResponse ¶
type GetServiceResponse struct { S *Service `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"` // contains filtered or unexported fields }
func (*GetServiceResponse) Descriptor
deprecated
func (*GetServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead.
func (*GetServiceResponse) GetS ¶
func (x *GetServiceResponse) GetS() *Service
func (*GetServiceResponse) ProtoMessage ¶
func (*GetServiceResponse) ProtoMessage()
func (*GetServiceResponse) ProtoReflect ¶
func (x *GetServiceResponse) ProtoReflect() protoreflect.Message
func (*GetServiceResponse) Reset ¶
func (x *GetServiceResponse) Reset()
func (*GetServiceResponse) String ¶
func (x *GetServiceResponse) String() string
type GetUserPermissionsRequest ¶
type GetUserPermissionsRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserPermissionsRequest) Descriptor
deprecated
func (*GetUserPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserPermissionsRequest.ProtoReflect.Descriptor instead.
func (*GetUserPermissionsRequest) GetUserId ¶
func (x *GetUserPermissionsRequest) GetUserId() uint32
func (*GetUserPermissionsRequest) ProtoMessage ¶
func (*GetUserPermissionsRequest) ProtoMessage()
func (*GetUserPermissionsRequest) ProtoReflect ¶
func (x *GetUserPermissionsRequest) ProtoReflect() protoreflect.Message
func (*GetUserPermissionsRequest) Reset ¶
func (x *GetUserPermissionsRequest) Reset()
func (*GetUserPermissionsRequest) String ¶
func (x *GetUserPermissionsRequest) String() string
type GetUserPermissionsResponse ¶
type GetUserPermissionsResponse struct { Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*GetUserPermissionsResponse) Descriptor
deprecated
func (*GetUserPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserPermissionsResponse.ProtoReflect.Descriptor instead.
func (*GetUserPermissionsResponse) GetPermissions ¶
func (x *GetUserPermissionsResponse) GetPermissions() []*Permission
func (*GetUserPermissionsResponse) ProtoMessage ¶
func (*GetUserPermissionsResponse) ProtoMessage()
func (*GetUserPermissionsResponse) ProtoReflect ¶
func (x *GetUserPermissionsResponse) ProtoReflect() protoreflect.Message
func (*GetUserPermissionsResponse) Reset ¶
func (x *GetUserPermissionsResponse) Reset()
func (*GetUserPermissionsResponse) String ¶
func (x *GetUserPermissionsResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { UserReq *User `protobuf:"bytes,1,opt,name=user_req,json=userReq,proto3" json:"user_req,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetUserReq ¶
func (x *GetUserRequest) GetUserReq() *User
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type MgmtClient ¶
type MgmtClient interface { CreateUserWithLoginPassword(ctx context.Context, in *CreateUserWithLoginPasswordRequest, opts ...grpc.CallOption) (*CreateUserWithLoginPasswordResponse, error) CreateUserWithTelegram(ctx context.Context, in *CreateUserWithTelegramRequest, opts ...grpc.CallOption) (*CreateUserWithTelegramResponse, error) GetAllUsers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAllUsersResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) BlockUser(ctx context.Context, in *BlockUserRequest, opts ...grpc.CallOption) (*BlockUserResponse, error) UnblockUser(ctx context.Context, in *UnblockUserRequest, opts ...grpc.CallOption) (*UnblockUserResponse, error) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*CreateServiceResponse, error) GetAllServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAllServicesResponse, error) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error) CreateAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateAccountResponse, error) CreateAccountWithName(ctx context.Context, in *CreateAccountWithNameRequest, opts ...grpc.CallOption) (*CreateAccountWithNameResponse, error) GetAllAccounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAllAccountsResponse, error) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) AttachUserToAccount(ctx context.Context, in *AttachUserToAccountRequest, opts ...grpc.CallOption) (*AttachUserToAccountResponse, error) AttachAccountToService(ctx context.Context, in *AttachAccountToServiceRequest, opts ...grpc.CallOption) (*AttachAccountToServiceResponse, error) RemoveAccountFromService(ctx context.Context, in *RemoveAccountFromServiceRequest, opts ...grpc.CallOption) (*RemoveAccountFromServiceResponse, error) CreatePermission(ctx context.Context, in *CreatePermissionRequest, opts ...grpc.CallOption) (*CreatePermissionResponse, error) GetPermission(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*GetPermissionResponse, error) GetAllPermission(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAllPermissionResponse, error) GetFilteredPermissions(ctx context.Context, in *GetFilteredPermissionsRequest, opts ...grpc.CallOption) (*GetFilteredPermissionsResponse, error) DeletePermission(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*DeletePermissionResponse, error) GetUserPermissions(ctx context.Context, in *GetUserPermissionsRequest, opts ...grpc.CallOption) (*GetUserPermissionsResponse, error) AddUserPermission(ctx context.Context, in *AddUserPermissionRequest, opts ...grpc.CallOption) (*AddUserPermissionResponse, error) RemoveUserPermission(ctx context.Context, in *RemoveUserPermissionRequest, opts ...grpc.CallOption) (*RemoveUserPermissionResponse, error) }
MgmtClient is the client API for Mgmt 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 NewMgmtClient ¶
func NewMgmtClient(cc grpc.ClientConnInterface) MgmtClient
type MgmtServer ¶
type MgmtServer interface { CreateUserWithLoginPassword(context.Context, *CreateUserWithLoginPasswordRequest) (*CreateUserWithLoginPasswordResponse, error) CreateUserWithTelegram(context.Context, *CreateUserWithTelegramRequest) (*CreateUserWithTelegramResponse, error) GetAllUsers(context.Context, *emptypb.Empty) (*GetAllUsersResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) BlockUser(context.Context, *BlockUserRequest) (*BlockUserResponse, error) UnblockUser(context.Context, *UnblockUserRequest) (*UnblockUserResponse, error) CreateService(context.Context, *CreateServiceRequest) (*CreateServiceResponse, error) GetAllServices(context.Context, *emptypb.Empty) (*GetAllServicesResponse, error) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error) CreateAccount(context.Context, *emptypb.Empty) (*CreateAccountResponse, error) CreateAccountWithName(context.Context, *CreateAccountWithNameRequest) (*CreateAccountWithNameResponse, error) GetAllAccounts(context.Context, *emptypb.Empty) (*GetAllAccountsResponse, error) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) AttachUserToAccount(context.Context, *AttachUserToAccountRequest) (*AttachUserToAccountResponse, error) AttachAccountToService(context.Context, *AttachAccountToServiceRequest) (*AttachAccountToServiceResponse, error) RemoveAccountFromService(context.Context, *RemoveAccountFromServiceRequest) (*RemoveAccountFromServiceResponse, error) CreatePermission(context.Context, *CreatePermissionRequest) (*CreatePermissionResponse, error) GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error) GetAllPermission(context.Context, *emptypb.Empty) (*GetAllPermissionResponse, error) GetFilteredPermissions(context.Context, *GetFilteredPermissionsRequest) (*GetFilteredPermissionsResponse, error) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error) GetUserPermissions(context.Context, *GetUserPermissionsRequest) (*GetUserPermissionsResponse, error) AddUserPermission(context.Context, *AddUserPermissionRequest) (*AddUserPermissionResponse, error) RemoveUserPermission(context.Context, *RemoveUserPermissionRequest) (*RemoveUserPermissionResponse, error) // contains filtered or unexported methods }
MgmtServer is the server API for Mgmt service. All implementations must embed UnimplementedMgmtServer for forward compatibility
type Permission ¶
type Permission struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Access uint64 `protobuf:"varint,3,opt,name=access,proto3" json:"access,omitempty"` ServiceId uint32 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetAccess ¶
func (x *Permission) GetAccess() uint64
func (*Permission) GetId ¶
func (x *Permission) GetId() uint32
func (*Permission) GetName ¶
func (x *Permission) GetName() string
func (*Permission) GetServiceId ¶
func (x *Permission) GetServiceId() uint32
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
type RemoveAccountFromServiceRequest ¶
type RemoveAccountFromServiceRequest struct { ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` AccountId uint32 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccountFromServiceRequest) Descriptor
deprecated
func (*RemoveAccountFromServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccountFromServiceRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccountFromServiceRequest) GetAccountId ¶
func (x *RemoveAccountFromServiceRequest) GetAccountId() uint32
func (*RemoveAccountFromServiceRequest) GetServiceId ¶
func (x *RemoveAccountFromServiceRequest) GetServiceId() uint32
func (*RemoveAccountFromServiceRequest) ProtoMessage ¶
func (*RemoveAccountFromServiceRequest) ProtoMessage()
func (*RemoveAccountFromServiceRequest) ProtoReflect ¶
func (x *RemoveAccountFromServiceRequest) ProtoReflect() protoreflect.Message
func (*RemoveAccountFromServiceRequest) Reset ¶
func (x *RemoveAccountFromServiceRequest) Reset()
func (*RemoveAccountFromServiceRequest) String ¶
func (x *RemoveAccountFromServiceRequest) String() string
type RemoveAccountFromServiceResponse ¶
type RemoveAccountFromServiceResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccountFromServiceResponse) Descriptor
deprecated
func (*RemoveAccountFromServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccountFromServiceResponse.ProtoReflect.Descriptor instead.
func (*RemoveAccountFromServiceResponse) GetOk ¶
func (x *RemoveAccountFromServiceResponse) GetOk() bool
func (*RemoveAccountFromServiceResponse) ProtoMessage ¶
func (*RemoveAccountFromServiceResponse) ProtoMessage()
func (*RemoveAccountFromServiceResponse) ProtoReflect ¶
func (x *RemoveAccountFromServiceResponse) ProtoReflect() protoreflect.Message
func (*RemoveAccountFromServiceResponse) Reset ¶
func (x *RemoveAccountFromServiceResponse) Reset()
func (*RemoveAccountFromServiceResponse) String ¶
func (x *RemoveAccountFromServiceResponse) String() string
type RemoveUserPermissionRequest ¶
type RemoveUserPermissionRequest struct { PermId uint32 `protobuf:"varint,1,opt,name=perm_id,json=permId,proto3" json:"perm_id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveUserPermissionRequest) Descriptor
deprecated
func (*RemoveUserPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserPermissionRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserPermissionRequest) GetPermId ¶
func (x *RemoveUserPermissionRequest) GetPermId() uint32
func (*RemoveUserPermissionRequest) GetUserId ¶
func (x *RemoveUserPermissionRequest) GetUserId() uint32
func (*RemoveUserPermissionRequest) ProtoMessage ¶
func (*RemoveUserPermissionRequest) ProtoMessage()
func (*RemoveUserPermissionRequest) ProtoReflect ¶
func (x *RemoveUserPermissionRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserPermissionRequest) Reset ¶
func (x *RemoveUserPermissionRequest) Reset()
func (*RemoveUserPermissionRequest) String ¶
func (x *RemoveUserPermissionRequest) String() string
type RemoveUserPermissionResponse ¶
type RemoveUserPermissionResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*RemoveUserPermissionResponse) Descriptor
deprecated
func (*RemoveUserPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserPermissionResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserPermissionResponse) GetOk ¶
func (x *RemoveUserPermissionResponse) GetOk() bool
func (*RemoveUserPermissionResponse) ProtoMessage ¶
func (*RemoveUserPermissionResponse) ProtoMessage()
func (*RemoveUserPermissionResponse) ProtoReflect ¶
func (x *RemoveUserPermissionResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserPermissionResponse) Reset ¶
func (x *RemoveUserPermissionResponse) Reset()
func (*RemoveUserPermissionResponse) String ¶
func (x *RemoveUserPermissionResponse) String() string
type Service ¶
type Service struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type UnblockUserRequest ¶
type UnblockUserRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UnblockUserRequest) Descriptor
deprecated
func (*UnblockUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnblockUserRequest.ProtoReflect.Descriptor instead.
func (*UnblockUserRequest) GetUserId ¶
func (x *UnblockUserRequest) GetUserId() uint32
func (*UnblockUserRequest) ProtoMessage ¶
func (*UnblockUserRequest) ProtoMessage()
func (*UnblockUserRequest) ProtoReflect ¶
func (x *UnblockUserRequest) ProtoReflect() protoreflect.Message
func (*UnblockUserRequest) Reset ¶
func (x *UnblockUserRequest) Reset()
func (*UnblockUserRequest) String ¶
func (x *UnblockUserRequest) String() string
type UnblockUserResponse ¶
type UnblockUserResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*UnblockUserResponse) Descriptor
deprecated
func (*UnblockUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnblockUserResponse.ProtoReflect.Descriptor instead.
func (*UnblockUserResponse) GetOk ¶
func (x *UnblockUserResponse) GetOk() bool
func (*UnblockUserResponse) ProtoMessage ¶
func (*UnblockUserResponse) ProtoMessage()
func (*UnblockUserResponse) ProtoReflect ¶
func (x *UnblockUserResponse) ProtoReflect() protoreflect.Message
func (*UnblockUserResponse) Reset ¶
func (x *UnblockUserResponse) Reset()
func (*UnblockUserResponse) String ¶
func (x *UnblockUserResponse) String() string
type UnimplementedMgmtServer ¶
type UnimplementedMgmtServer struct { }
UnimplementedMgmtServer must be embedded to have forward compatible implementations.
func (UnimplementedMgmtServer) AddUserPermission ¶
func (UnimplementedMgmtServer) AddUserPermission(context.Context, *AddUserPermissionRequest) (*AddUserPermissionResponse, error)
func (UnimplementedMgmtServer) AttachAccountToService ¶
func (UnimplementedMgmtServer) AttachAccountToService(context.Context, *AttachAccountToServiceRequest) (*AttachAccountToServiceResponse, error)
func (UnimplementedMgmtServer) AttachUserToAccount ¶
func (UnimplementedMgmtServer) AttachUserToAccount(context.Context, *AttachUserToAccountRequest) (*AttachUserToAccountResponse, error)
func (UnimplementedMgmtServer) BlockUser ¶
func (UnimplementedMgmtServer) BlockUser(context.Context, *BlockUserRequest) (*BlockUserResponse, error)
func (UnimplementedMgmtServer) CreateAccount ¶
func (UnimplementedMgmtServer) CreateAccount(context.Context, *emptypb.Empty) (*CreateAccountResponse, error)
func (UnimplementedMgmtServer) CreateAccountWithName ¶
func (UnimplementedMgmtServer) CreateAccountWithName(context.Context, *CreateAccountWithNameRequest) (*CreateAccountWithNameResponse, error)
func (UnimplementedMgmtServer) CreatePermission ¶
func (UnimplementedMgmtServer) CreatePermission(context.Context, *CreatePermissionRequest) (*CreatePermissionResponse, error)
func (UnimplementedMgmtServer) CreateService ¶
func (UnimplementedMgmtServer) CreateService(context.Context, *CreateServiceRequest) (*CreateServiceResponse, error)
func (UnimplementedMgmtServer) CreateUserWithLoginPassword ¶
func (UnimplementedMgmtServer) CreateUserWithLoginPassword(context.Context, *CreateUserWithLoginPasswordRequest) (*CreateUserWithLoginPasswordResponse, error)
func (UnimplementedMgmtServer) CreateUserWithTelegram ¶
func (UnimplementedMgmtServer) CreateUserWithTelegram(context.Context, *CreateUserWithTelegramRequest) (*CreateUserWithTelegramResponse, error)
func (UnimplementedMgmtServer) DeletePermission ¶
func (UnimplementedMgmtServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
func (UnimplementedMgmtServer) GetAccount ¶
func (UnimplementedMgmtServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
func (UnimplementedMgmtServer) GetAllAccounts ¶
func (UnimplementedMgmtServer) GetAllAccounts(context.Context, *emptypb.Empty) (*GetAllAccountsResponse, error)
func (UnimplementedMgmtServer) GetAllPermission ¶
func (UnimplementedMgmtServer) GetAllPermission(context.Context, *emptypb.Empty) (*GetAllPermissionResponse, error)
func (UnimplementedMgmtServer) GetAllServices ¶
func (UnimplementedMgmtServer) GetAllServices(context.Context, *emptypb.Empty) (*GetAllServicesResponse, error)
func (UnimplementedMgmtServer) GetAllUsers ¶
func (UnimplementedMgmtServer) GetAllUsers(context.Context, *emptypb.Empty) (*GetAllUsersResponse, error)
func (UnimplementedMgmtServer) GetFilteredPermissions ¶
func (UnimplementedMgmtServer) GetFilteredPermissions(context.Context, *GetFilteredPermissionsRequest) (*GetFilteredPermissionsResponse, error)
func (UnimplementedMgmtServer) GetPermission ¶
func (UnimplementedMgmtServer) GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error)
func (UnimplementedMgmtServer) GetService ¶
func (UnimplementedMgmtServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error)
func (UnimplementedMgmtServer) GetUser ¶
func (UnimplementedMgmtServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedMgmtServer) GetUserPermissions ¶
func (UnimplementedMgmtServer) GetUserPermissions(context.Context, *GetUserPermissionsRequest) (*GetUserPermissionsResponse, error)
func (UnimplementedMgmtServer) RemoveAccountFromService ¶
func (UnimplementedMgmtServer) RemoveAccountFromService(context.Context, *RemoveAccountFromServiceRequest) (*RemoveAccountFromServiceResponse, error)
func (UnimplementedMgmtServer) RemoveUserPermission ¶
func (UnimplementedMgmtServer) RemoveUserPermission(context.Context, *RemoveUserPermissionRequest) (*RemoveUserPermissionResponse, error)
func (UnimplementedMgmtServer) UnblockUser ¶
func (UnimplementedMgmtServer) UnblockUser(context.Context, *UnblockUserRequest) (*UnblockUserResponse, error)
func (UnimplementedMgmtServer) UpdateAccount ¶
func (UnimplementedMgmtServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error)
func (UnimplementedMgmtServer) UpdateUser ¶
func (UnimplementedMgmtServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
type UnsafeMgmtServer ¶
type UnsafeMgmtServer interface {
// contains filtered or unexported methods
}
UnsafeMgmtServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MgmtServer will result in compilation errors.
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { Acc *Account `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAcc ¶
func (x *UpdateAccountRequest) GetAcc() *Account
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UpdateAccountResponse ¶
type UpdateAccountResponse struct { A *Account `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccountResponse) Descriptor
deprecated
func (*UpdateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead.
func (*UpdateAccountResponse) GetA ¶
func (x *UpdateAccountResponse) GetA() *Account
func (*UpdateAccountResponse) ProtoMessage ¶
func (*UpdateAccountResponse) ProtoMessage()
func (*UpdateAccountResponse) ProtoReflect ¶
func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message
func (*UpdateAccountResponse) Reset ¶
func (x *UpdateAccountResponse) Reset()
func (*UpdateAccountResponse) String ¶
func (x *UpdateAccountResponse) String() string
type UpdateMapAccountResponse ¶
type UpdateMapAccountResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*UpdateMapAccountResponse) Descriptor
deprecated
func (*UpdateMapAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMapAccountResponse.ProtoReflect.Descriptor instead.
func (*UpdateMapAccountResponse) GetOk ¶
func (x *UpdateMapAccountResponse) GetOk() bool
func (*UpdateMapAccountResponse) ProtoMessage ¶
func (*UpdateMapAccountResponse) ProtoMessage()
func (*UpdateMapAccountResponse) ProtoReflect ¶
func (x *UpdateMapAccountResponse) ProtoReflect() protoreflect.Message
func (*UpdateMapAccountResponse) Reset ¶
func (x *UpdateMapAccountResponse) Reset()
func (*UpdateMapAccountResponse) String ¶
func (x *UpdateMapAccountResponse) String() string
type UpdateMapUserResponse ¶
type UpdateMapUserResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*UpdateMapUserResponse) Descriptor
deprecated
func (*UpdateMapUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMapUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateMapUserResponse) GetOk ¶
func (x *UpdateMapUserResponse) GetOk() bool
func (*UpdateMapUserResponse) ProtoMessage ¶
func (*UpdateMapUserResponse) ProtoMessage()
func (*UpdateMapUserResponse) ProtoReflect ¶
func (x *UpdateMapUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateMapUserResponse) Reset ¶
func (x *UpdateMapUserResponse) Reset()
func (*UpdateMapUserResponse) String ¶
func (x *UpdateMapUserResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { UserReq *User `protobuf:"bytes,1,opt,name=user_req,json=userReq,proto3" json:"user_req,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUserReq ¶
func (x *UpdateUserRequest) GetUserReq() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetUser ¶
func (x *UpdateUserResponse) GetUser() *User
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type User ¶
type User struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` TgName string `protobuf:"bytes,4,opt,name=tg_name,json=tgName,proto3" json:"tg_name,omitempty"` TgId uint64 `protobuf:"varint,5,opt,name=tg_id,json=tgId,proto3" json:"tg_id,omitempty"` TgUsername string `protobuf:"bytes,6,opt,name=tg_username,json=tgUsername,proto3" json:"tg_username,omitempty"` ParentId uint32 `protobuf:"varint,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` AccountId uint32 `protobuf:"varint,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Blocked bool `protobuf:"varint,9,opt,name=blocked,proto3" json:"blocked,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAccountId ¶
func (*User) GetBlocked ¶
func (*User) GetParentId ¶
func (*User) GetTgUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message