Documentation ¶
Index ¶
- Variables
- func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)
- type ChangePasswordReq
- func (*ChangePasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordReq) GetOptions() *ChangePasswordReq_Options
- func (*ChangePasswordReq) ProtoMessage()
- func (x *ChangePasswordReq) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordReq) Reset()
- func (x *ChangePasswordReq) String() string
- type ChangePasswordReq_Options
- func (*ChangePasswordReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordReq_Options) GetCurrentPassword() string
- func (x *ChangePasswordReq_Options) GetLoginName() string
- func (x *ChangePasswordReq_Options) GetNewPassword() string
- func (*ChangePasswordReq_Options) ProtoMessage()
- func (x *ChangePasswordReq_Options) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordReq_Options) Reset()
- func (x *ChangePasswordReq_Options) String() string
- type ChangePasswordResp
- type CreateReq
- type CreateReq_Options
- func (*CreateReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReq_Options) GetFullName() string
- func (x *CreateReq_Options) GetGroups() []string
- func (x *CreateReq_Options) GetLoginName() string
- func (x *CreateReq_Options) GetPassword() string
- func (*CreateReq_Options) ProtoMessage()
- func (x *CreateReq_Options) ProtoReflect() protoreflect.Message
- func (x *CreateReq_Options) Reset()
- func (x *CreateReq_Options) String() string
- type CreateResp
- type DeleteReq
- type DeleteReq_Options
- type DeleteResp
- type DetailsReq
- type DetailsReq_Options
- func (*DetailsReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *DetailsReq_Options) GetLoginName() string
- func (*DetailsReq_Options) ProtoMessage()
- func (x *DetailsReq_Options) ProtoReflect() protoreflect.Message
- func (x *DetailsReq_Options) Reset()
- func (x *DetailsReq_Options) String() string
- type DetailsResp
- type DetailsResp_UserDetails
- func (*DetailsResp_UserDetails) Descriptor() ([]byte, []int)deprecated
- func (x *DetailsResp_UserDetails) GetDisabled() bool
- func (x *DetailsResp_UserDetails) GetFullName() string
- func (x *DetailsResp_UserDetails) GetGroups() []string
- func (x *DetailsResp_UserDetails) GetLastUpdated() *DetailsResp_UserDetails_DateTime
- func (x *DetailsResp_UserDetails) GetLoginName() string
- func (*DetailsResp_UserDetails) ProtoMessage()
- func (x *DetailsResp_UserDetails) ProtoReflect() protoreflect.Message
- func (x *DetailsResp_UserDetails) Reset()
- func (x *DetailsResp_UserDetails) String() string
- type DetailsResp_UserDetails_DateTime
- func (*DetailsResp_UserDetails_DateTime) Descriptor() ([]byte, []int)deprecated
- func (x *DetailsResp_UserDetails_DateTime) GetTicksSinceEpoch() int64
- func (*DetailsResp_UserDetails_DateTime) ProtoMessage()
- func (x *DetailsResp_UserDetails_DateTime) ProtoReflect() protoreflect.Message
- func (x *DetailsResp_UserDetails_DateTime) Reset()
- func (x *DetailsResp_UserDetails_DateTime) String() string
- type DisableReq
- type DisableReq_Options
- func (*DisableReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *DisableReq_Options) GetLoginName() string
- func (*DisableReq_Options) ProtoMessage()
- func (x *DisableReq_Options) ProtoReflect() protoreflect.Message
- func (x *DisableReq_Options) Reset()
- func (x *DisableReq_Options) String() string
- type DisableResp
- type EnableReq
- type EnableReq_Options
- type EnableResp
- type ResetPasswordReq
- func (*ResetPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordReq) GetOptions() *ResetPasswordReq_Options
- func (*ResetPasswordReq) ProtoMessage()
- func (x *ResetPasswordReq) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordReq) Reset()
- func (x *ResetPasswordReq) String() string
- type ResetPasswordReq_Options
- func (*ResetPasswordReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordReq_Options) GetLoginName() string
- func (x *ResetPasswordReq_Options) GetNewPassword() string
- func (*ResetPasswordReq_Options) ProtoMessage()
- func (x *ResetPasswordReq_Options) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordReq_Options) Reset()
- func (x *ResetPasswordReq_Options) String() string
- type ResetPasswordResp
- type UnimplementedUsersServer
- func (UnimplementedUsersServer) ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordResp, error)
- func (UnimplementedUsersServer) Create(context.Context, *CreateReq) (*CreateResp, error)
- func (UnimplementedUsersServer) Delete(context.Context, *DeleteReq) (*DeleteResp, error)
- func (UnimplementedUsersServer) Details(*DetailsReq, Users_DetailsServer) error
- func (UnimplementedUsersServer) Disable(context.Context, *DisableReq) (*DisableResp, error)
- func (UnimplementedUsersServer) Enable(context.Context, *EnableReq) (*EnableResp, error)
- func (UnimplementedUsersServer) ResetPassword(context.Context, *ResetPasswordReq) (*ResetPasswordResp, error)
- func (UnimplementedUsersServer) Update(context.Context, *UpdateReq) (*UpdateResp, error)
- type UnsafeUsersServer
- type UpdateReq
- type UpdateReq_Options
- func (*UpdateReq_Options) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReq_Options) GetFullName() string
- func (x *UpdateReq_Options) GetGroups() []string
- func (x *UpdateReq_Options) GetLoginName() string
- func (x *UpdateReq_Options) GetPassword() string
- func (*UpdateReq_Options) ProtoMessage()
- func (x *UpdateReq_Options) ProtoReflect() protoreflect.Message
- func (x *UpdateReq_Options) Reset()
- func (x *UpdateReq_Options) String() string
- type UpdateResp
- type UsersClient
- type UsersServer
- type Users_DetailsClient
- type Users_DetailsServer
Constants ¶
This section is empty.
Variables ¶
var File_users_proto protoreflect.FileDescriptor
var Users_ServiceDesc = grpc.ServiceDesc{ ServiceName: "event_store.client.users.Users", HandlerType: (*UsersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Users_Create_Handler, }, { MethodName: "Update", Handler: _Users_Update_Handler, }, { MethodName: "Delete", Handler: _Users_Delete_Handler, }, { MethodName: "Disable", Handler: _Users_Disable_Handler, }, { MethodName: "Enable", Handler: _Users_Enable_Handler, }, { MethodName: "ChangePassword", Handler: _Users_ChangePassword_Handler, }, { MethodName: "ResetPassword", Handler: _Users_ResetPassword_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Details", Handler: _Users_Details_Handler, ServerStreams: true, }, }, Metadata: "users.proto", }
Users_ServiceDesc is the grpc.ServiceDesc for Users service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUsersServer ¶
func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)
Types ¶
type ChangePasswordReq ¶
type ChangePasswordReq struct { Options *ChangePasswordReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordReq) Descriptor
deprecated
func (*ChangePasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordReq.ProtoReflect.Descriptor instead.
func (*ChangePasswordReq) GetOptions ¶
func (x *ChangePasswordReq) GetOptions() *ChangePasswordReq_Options
func (*ChangePasswordReq) ProtoMessage ¶
func (*ChangePasswordReq) ProtoMessage()
func (*ChangePasswordReq) ProtoReflect ¶
func (x *ChangePasswordReq) ProtoReflect() protoreflect.Message
func (*ChangePasswordReq) Reset ¶
func (x *ChangePasswordReq) Reset()
func (*ChangePasswordReq) String ¶
func (x *ChangePasswordReq) String() string
type ChangePasswordReq_Options ¶
type ChangePasswordReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` CurrentPassword string `protobuf:"bytes,2,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordReq_Options) Descriptor
deprecated
func (*ChangePasswordReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordReq_Options.ProtoReflect.Descriptor instead.
func (*ChangePasswordReq_Options) GetCurrentPassword ¶
func (x *ChangePasswordReq_Options) GetCurrentPassword() string
func (*ChangePasswordReq_Options) GetLoginName ¶
func (x *ChangePasswordReq_Options) GetLoginName() string
func (*ChangePasswordReq_Options) GetNewPassword ¶
func (x *ChangePasswordReq_Options) GetNewPassword() string
func (*ChangePasswordReq_Options) ProtoMessage ¶
func (*ChangePasswordReq_Options) ProtoMessage()
func (*ChangePasswordReq_Options) ProtoReflect ¶
func (x *ChangePasswordReq_Options) ProtoReflect() protoreflect.Message
func (*ChangePasswordReq_Options) Reset ¶
func (x *ChangePasswordReq_Options) Reset()
func (*ChangePasswordReq_Options) String ¶
func (x *ChangePasswordReq_Options) String() string
type ChangePasswordResp ¶
type ChangePasswordResp struct {
// contains filtered or unexported fields
}
func (*ChangePasswordResp) Descriptor
deprecated
func (*ChangePasswordResp) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResp.ProtoReflect.Descriptor instead.
func (*ChangePasswordResp) ProtoMessage ¶
func (*ChangePasswordResp) ProtoMessage()
func (*ChangePasswordResp) ProtoReflect ¶
func (x *ChangePasswordResp) ProtoReflect() protoreflect.Message
func (*ChangePasswordResp) Reset ¶
func (x *ChangePasswordResp) Reset()
func (*ChangePasswordResp) String ¶
func (x *ChangePasswordResp) String() string
type CreateReq ¶
type CreateReq struct { Options *CreateReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*CreateReq) Descriptor
deprecated
func (*CreateReq) GetOptions ¶
func (x *CreateReq) GetOptions() *CreateReq_Options
func (*CreateReq) ProtoMessage ¶
func (*CreateReq) ProtoMessage()
func (*CreateReq) ProtoReflect ¶
func (x *CreateReq) ProtoReflect() protoreflect.Message
type CreateReq_Options ¶
type CreateReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*CreateReq_Options) Descriptor
deprecated
func (*CreateReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use CreateReq_Options.ProtoReflect.Descriptor instead.
func (*CreateReq_Options) GetFullName ¶
func (x *CreateReq_Options) GetFullName() string
func (*CreateReq_Options) GetGroups ¶
func (x *CreateReq_Options) GetGroups() []string
func (*CreateReq_Options) GetLoginName ¶
func (x *CreateReq_Options) GetLoginName() string
func (*CreateReq_Options) GetPassword ¶
func (x *CreateReq_Options) GetPassword() string
func (*CreateReq_Options) ProtoMessage ¶
func (*CreateReq_Options) ProtoMessage()
func (*CreateReq_Options) ProtoReflect ¶
func (x *CreateReq_Options) ProtoReflect() protoreflect.Message
func (*CreateReq_Options) Reset ¶
func (x *CreateReq_Options) Reset()
func (*CreateReq_Options) String ¶
func (x *CreateReq_Options) String() string
type CreateResp ¶
type CreateResp struct {
// contains filtered or unexported fields
}
func (*CreateResp) Descriptor
deprecated
func (*CreateResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateResp.ProtoReflect.Descriptor instead.
func (*CreateResp) ProtoMessage ¶
func (*CreateResp) ProtoMessage()
func (*CreateResp) ProtoReflect ¶
func (x *CreateResp) ProtoReflect() protoreflect.Message
func (*CreateResp) Reset ¶
func (x *CreateResp) Reset()
func (*CreateResp) String ¶
func (x *CreateResp) String() string
type DeleteReq ¶
type DeleteReq struct { Options *DeleteReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*DeleteReq) Descriptor
deprecated
func (*DeleteReq) GetOptions ¶
func (x *DeleteReq) GetOptions() *DeleteReq_Options
func (*DeleteReq) ProtoMessage ¶
func (*DeleteReq) ProtoMessage()
func (*DeleteReq) ProtoReflect ¶
func (x *DeleteReq) ProtoReflect() protoreflect.Message
type DeleteReq_Options ¶
type DeleteReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteReq_Options) Descriptor
deprecated
func (*DeleteReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReq_Options.ProtoReflect.Descriptor instead.
func (*DeleteReq_Options) GetLoginName ¶
func (x *DeleteReq_Options) GetLoginName() string
func (*DeleteReq_Options) ProtoMessage ¶
func (*DeleteReq_Options) ProtoMessage()
func (*DeleteReq_Options) ProtoReflect ¶
func (x *DeleteReq_Options) ProtoReflect() protoreflect.Message
func (*DeleteReq_Options) Reset ¶
func (x *DeleteReq_Options) Reset()
func (*DeleteReq_Options) String ¶
func (x *DeleteReq_Options) String() string
type DeleteResp ¶
type DeleteResp struct {
// contains filtered or unexported fields
}
func (*DeleteResp) Descriptor
deprecated
func (*DeleteResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResp.ProtoReflect.Descriptor instead.
func (*DeleteResp) ProtoMessage ¶
func (*DeleteResp) ProtoMessage()
func (*DeleteResp) ProtoReflect ¶
func (x *DeleteResp) ProtoReflect() protoreflect.Message
func (*DeleteResp) Reset ¶
func (x *DeleteResp) Reset()
func (*DeleteResp) String ¶
func (x *DeleteResp) String() string
type DetailsReq ¶
type DetailsReq struct { Options *DetailsReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*DetailsReq) Descriptor
deprecated
func (*DetailsReq) Descriptor() ([]byte, []int)
Deprecated: Use DetailsReq.ProtoReflect.Descriptor instead.
func (*DetailsReq) GetOptions ¶
func (x *DetailsReq) GetOptions() *DetailsReq_Options
func (*DetailsReq) ProtoMessage ¶
func (*DetailsReq) ProtoMessage()
func (*DetailsReq) ProtoReflect ¶
func (x *DetailsReq) ProtoReflect() protoreflect.Message
func (*DetailsReq) Reset ¶
func (x *DetailsReq) Reset()
func (*DetailsReq) String ¶
func (x *DetailsReq) String() string
type DetailsReq_Options ¶
type DetailsReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // contains filtered or unexported fields }
func (*DetailsReq_Options) Descriptor
deprecated
func (*DetailsReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use DetailsReq_Options.ProtoReflect.Descriptor instead.
func (*DetailsReq_Options) GetLoginName ¶
func (x *DetailsReq_Options) GetLoginName() string
func (*DetailsReq_Options) ProtoMessage ¶
func (*DetailsReq_Options) ProtoMessage()
func (*DetailsReq_Options) ProtoReflect ¶
func (x *DetailsReq_Options) ProtoReflect() protoreflect.Message
func (*DetailsReq_Options) Reset ¶
func (x *DetailsReq_Options) Reset()
func (*DetailsReq_Options) String ¶
func (x *DetailsReq_Options) String() string
type DetailsResp ¶
type DetailsResp struct { UserDetails *DetailsResp_UserDetails `protobuf:"bytes,1,opt,name=user_details,json=userDetails,proto3" json:"user_details,omitempty"` // contains filtered or unexported fields }
func (*DetailsResp) Descriptor
deprecated
func (*DetailsResp) Descriptor() ([]byte, []int)
Deprecated: Use DetailsResp.ProtoReflect.Descriptor instead.
func (*DetailsResp) GetUserDetails ¶
func (x *DetailsResp) GetUserDetails() *DetailsResp_UserDetails
func (*DetailsResp) ProtoMessage ¶
func (*DetailsResp) ProtoMessage()
func (*DetailsResp) ProtoReflect ¶
func (x *DetailsResp) ProtoReflect() protoreflect.Message
func (*DetailsResp) Reset ¶
func (x *DetailsResp) Reset()
func (*DetailsResp) String ¶
func (x *DetailsResp) String() string
type DetailsResp_UserDetails ¶
type DetailsResp_UserDetails struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` LastUpdated *DetailsResp_UserDetails_DateTime `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*DetailsResp_UserDetails) Descriptor
deprecated
func (*DetailsResp_UserDetails) Descriptor() ([]byte, []int)
Deprecated: Use DetailsResp_UserDetails.ProtoReflect.Descriptor instead.
func (*DetailsResp_UserDetails) GetDisabled ¶
func (x *DetailsResp_UserDetails) GetDisabled() bool
func (*DetailsResp_UserDetails) GetFullName ¶
func (x *DetailsResp_UserDetails) GetFullName() string
func (*DetailsResp_UserDetails) GetGroups ¶
func (x *DetailsResp_UserDetails) GetGroups() []string
func (*DetailsResp_UserDetails) GetLastUpdated ¶
func (x *DetailsResp_UserDetails) GetLastUpdated() *DetailsResp_UserDetails_DateTime
func (*DetailsResp_UserDetails) GetLoginName ¶
func (x *DetailsResp_UserDetails) GetLoginName() string
func (*DetailsResp_UserDetails) ProtoMessage ¶
func (*DetailsResp_UserDetails) ProtoMessage()
func (*DetailsResp_UserDetails) ProtoReflect ¶
func (x *DetailsResp_UserDetails) ProtoReflect() protoreflect.Message
func (*DetailsResp_UserDetails) Reset ¶
func (x *DetailsResp_UserDetails) Reset()
func (*DetailsResp_UserDetails) String ¶
func (x *DetailsResp_UserDetails) String() string
type DetailsResp_UserDetails_DateTime ¶
type DetailsResp_UserDetails_DateTime struct { TicksSinceEpoch int64 `protobuf:"varint,1,opt,name=ticks_since_epoch,json=ticksSinceEpoch,proto3" json:"ticks_since_epoch,omitempty"` // contains filtered or unexported fields }
func (*DetailsResp_UserDetails_DateTime) Descriptor
deprecated
func (*DetailsResp_UserDetails_DateTime) Descriptor() ([]byte, []int)
Deprecated: Use DetailsResp_UserDetails_DateTime.ProtoReflect.Descriptor instead.
func (*DetailsResp_UserDetails_DateTime) GetTicksSinceEpoch ¶
func (x *DetailsResp_UserDetails_DateTime) GetTicksSinceEpoch() int64
func (*DetailsResp_UserDetails_DateTime) ProtoMessage ¶
func (*DetailsResp_UserDetails_DateTime) ProtoMessage()
func (*DetailsResp_UserDetails_DateTime) ProtoReflect ¶
func (x *DetailsResp_UserDetails_DateTime) ProtoReflect() protoreflect.Message
func (*DetailsResp_UserDetails_DateTime) Reset ¶
func (x *DetailsResp_UserDetails_DateTime) Reset()
func (*DetailsResp_UserDetails_DateTime) String ¶
func (x *DetailsResp_UserDetails_DateTime) String() string
type DisableReq ¶
type DisableReq struct { Options *DisableReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*DisableReq) Descriptor
deprecated
func (*DisableReq) Descriptor() ([]byte, []int)
Deprecated: Use DisableReq.ProtoReflect.Descriptor instead.
func (*DisableReq) GetOptions ¶
func (x *DisableReq) GetOptions() *DisableReq_Options
func (*DisableReq) ProtoMessage ¶
func (*DisableReq) ProtoMessage()
func (*DisableReq) ProtoReflect ¶
func (x *DisableReq) ProtoReflect() protoreflect.Message
func (*DisableReq) Reset ¶
func (x *DisableReq) Reset()
func (*DisableReq) String ¶
func (x *DisableReq) String() string
type DisableReq_Options ¶
type DisableReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // contains filtered or unexported fields }
func (*DisableReq_Options) Descriptor
deprecated
func (*DisableReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use DisableReq_Options.ProtoReflect.Descriptor instead.
func (*DisableReq_Options) GetLoginName ¶
func (x *DisableReq_Options) GetLoginName() string
func (*DisableReq_Options) ProtoMessage ¶
func (*DisableReq_Options) ProtoMessage()
func (*DisableReq_Options) ProtoReflect ¶
func (x *DisableReq_Options) ProtoReflect() protoreflect.Message
func (*DisableReq_Options) Reset ¶
func (x *DisableReq_Options) Reset()
func (*DisableReq_Options) String ¶
func (x *DisableReq_Options) String() string
type DisableResp ¶
type DisableResp struct {
// contains filtered or unexported fields
}
func (*DisableResp) Descriptor
deprecated
func (*DisableResp) Descriptor() ([]byte, []int)
Deprecated: Use DisableResp.ProtoReflect.Descriptor instead.
func (*DisableResp) ProtoMessage ¶
func (*DisableResp) ProtoMessage()
func (*DisableResp) ProtoReflect ¶
func (x *DisableResp) ProtoReflect() protoreflect.Message
func (*DisableResp) Reset ¶
func (x *DisableResp) Reset()
func (*DisableResp) String ¶
func (x *DisableResp) String() string
type EnableReq ¶
type EnableReq struct { Options *EnableReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*EnableReq) Descriptor
deprecated
func (*EnableReq) GetOptions ¶
func (x *EnableReq) GetOptions() *EnableReq_Options
func (*EnableReq) ProtoMessage ¶
func (*EnableReq) ProtoMessage()
func (*EnableReq) ProtoReflect ¶
func (x *EnableReq) ProtoReflect() protoreflect.Message
type EnableReq_Options ¶
type EnableReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // contains filtered or unexported fields }
func (*EnableReq_Options) Descriptor
deprecated
func (*EnableReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use EnableReq_Options.ProtoReflect.Descriptor instead.
func (*EnableReq_Options) GetLoginName ¶
func (x *EnableReq_Options) GetLoginName() string
func (*EnableReq_Options) ProtoMessage ¶
func (*EnableReq_Options) ProtoMessage()
func (*EnableReq_Options) ProtoReflect ¶
func (x *EnableReq_Options) ProtoReflect() protoreflect.Message
func (*EnableReq_Options) Reset ¶
func (x *EnableReq_Options) Reset()
func (*EnableReq_Options) String ¶
func (x *EnableReq_Options) String() string
type EnableResp ¶
type EnableResp struct {
// contains filtered or unexported fields
}
func (*EnableResp) Descriptor
deprecated
func (*EnableResp) Descriptor() ([]byte, []int)
Deprecated: Use EnableResp.ProtoReflect.Descriptor instead.
func (*EnableResp) ProtoMessage ¶
func (*EnableResp) ProtoMessage()
func (*EnableResp) ProtoReflect ¶
func (x *EnableResp) ProtoReflect() protoreflect.Message
func (*EnableResp) Reset ¶
func (x *EnableResp) Reset()
func (*EnableResp) String ¶
func (x *EnableResp) String() string
type ResetPasswordReq ¶
type ResetPasswordReq struct { Options *ResetPasswordReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordReq) Descriptor
deprecated
func (*ResetPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordReq.ProtoReflect.Descriptor instead.
func (*ResetPasswordReq) GetOptions ¶
func (x *ResetPasswordReq) GetOptions() *ResetPasswordReq_Options
func (*ResetPasswordReq) ProtoMessage ¶
func (*ResetPasswordReq) ProtoMessage()
func (*ResetPasswordReq) ProtoReflect ¶
func (x *ResetPasswordReq) ProtoReflect() protoreflect.Message
func (*ResetPasswordReq) Reset ¶
func (x *ResetPasswordReq) Reset()
func (*ResetPasswordReq) String ¶
func (x *ResetPasswordReq) String() string
type ResetPasswordReq_Options ¶
type ResetPasswordReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordReq_Options) Descriptor
deprecated
func (*ResetPasswordReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordReq_Options.ProtoReflect.Descriptor instead.
func (*ResetPasswordReq_Options) GetLoginName ¶
func (x *ResetPasswordReq_Options) GetLoginName() string
func (*ResetPasswordReq_Options) GetNewPassword ¶
func (x *ResetPasswordReq_Options) GetNewPassword() string
func (*ResetPasswordReq_Options) ProtoMessage ¶
func (*ResetPasswordReq_Options) ProtoMessage()
func (*ResetPasswordReq_Options) ProtoReflect ¶
func (x *ResetPasswordReq_Options) ProtoReflect() protoreflect.Message
func (*ResetPasswordReq_Options) Reset ¶
func (x *ResetPasswordReq_Options) Reset()
func (*ResetPasswordReq_Options) String ¶
func (x *ResetPasswordReq_Options) String() string
type ResetPasswordResp ¶
type ResetPasswordResp struct {
// contains filtered or unexported fields
}
func (*ResetPasswordResp) Descriptor
deprecated
func (*ResetPasswordResp) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordResp.ProtoReflect.Descriptor instead.
func (*ResetPasswordResp) ProtoMessage ¶
func (*ResetPasswordResp) ProtoMessage()
func (*ResetPasswordResp) ProtoReflect ¶
func (x *ResetPasswordResp) ProtoReflect() protoreflect.Message
func (*ResetPasswordResp) Reset ¶
func (x *ResetPasswordResp) Reset()
func (*ResetPasswordResp) String ¶
func (x *ResetPasswordResp) String() string
type UnimplementedUsersServer ¶
type UnimplementedUsersServer struct { }
UnimplementedUsersServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersServer) ChangePassword ¶
func (UnimplementedUsersServer) ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordResp, error)
func (UnimplementedUsersServer) Create ¶
func (UnimplementedUsersServer) Create(context.Context, *CreateReq) (*CreateResp, error)
func (UnimplementedUsersServer) Delete ¶
func (UnimplementedUsersServer) Delete(context.Context, *DeleteReq) (*DeleteResp, error)
func (UnimplementedUsersServer) Details ¶
func (UnimplementedUsersServer) Details(*DetailsReq, Users_DetailsServer) error
func (UnimplementedUsersServer) Disable ¶
func (UnimplementedUsersServer) Disable(context.Context, *DisableReq) (*DisableResp, error)
func (UnimplementedUsersServer) Enable ¶
func (UnimplementedUsersServer) Enable(context.Context, *EnableReq) (*EnableResp, error)
func (UnimplementedUsersServer) ResetPassword ¶
func (UnimplementedUsersServer) ResetPassword(context.Context, *ResetPasswordReq) (*ResetPasswordResp, error)
func (UnimplementedUsersServer) Update ¶
func (UnimplementedUsersServer) Update(context.Context, *UpdateReq) (*UpdateResp, error)
type UnsafeUsersServer ¶
type UnsafeUsersServer interface {
// contains filtered or unexported methods
}
UnsafeUsersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServer will result in compilation errors.
type UpdateReq ¶
type UpdateReq struct { Options *UpdateReq_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*UpdateReq) Descriptor
deprecated
func (*UpdateReq) GetOptions ¶
func (x *UpdateReq) GetOptions() *UpdateReq_Options
func (*UpdateReq) ProtoMessage ¶
func (*UpdateReq) ProtoMessage()
func (*UpdateReq) ProtoReflect ¶
func (x *UpdateReq) ProtoReflect() protoreflect.Message
type UpdateReq_Options ¶
type UpdateReq_Options struct { LoginName string `protobuf:"bytes,1,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*UpdateReq_Options) Descriptor
deprecated
func (*UpdateReq_Options) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReq_Options.ProtoReflect.Descriptor instead.
func (*UpdateReq_Options) GetFullName ¶
func (x *UpdateReq_Options) GetFullName() string
func (*UpdateReq_Options) GetGroups ¶
func (x *UpdateReq_Options) GetGroups() []string
func (*UpdateReq_Options) GetLoginName ¶
func (x *UpdateReq_Options) GetLoginName() string
func (*UpdateReq_Options) GetPassword ¶
func (x *UpdateReq_Options) GetPassword() string
func (*UpdateReq_Options) ProtoMessage ¶
func (*UpdateReq_Options) ProtoMessage()
func (*UpdateReq_Options) ProtoReflect ¶
func (x *UpdateReq_Options) ProtoReflect() protoreflect.Message
func (*UpdateReq_Options) Reset ¶
func (x *UpdateReq_Options) Reset()
func (*UpdateReq_Options) String ¶
func (x *UpdateReq_Options) String() string
type UpdateResp ¶
type UpdateResp struct {
// contains filtered or unexported fields
}
func (*UpdateResp) Descriptor
deprecated
func (*UpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResp.ProtoReflect.Descriptor instead.
func (*UpdateResp) ProtoMessage ¶
func (*UpdateResp) ProtoMessage()
func (*UpdateResp) ProtoReflect ¶
func (x *UpdateResp) ProtoReflect() protoreflect.Message
func (*UpdateResp) Reset ¶
func (x *UpdateResp) Reset()
func (*UpdateResp) String ¶
func (x *UpdateResp) String() string
type UsersClient ¶
type UsersClient interface { Create(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*CreateResp, error) Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) Delete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*DeleteResp, error) Disable(ctx context.Context, in *DisableReq, opts ...grpc.CallOption) (*DisableResp, error) Enable(ctx context.Context, in *EnableReq, opts ...grpc.CallOption) (*EnableResp, error) Details(ctx context.Context, in *DetailsReq, opts ...grpc.CallOption) (Users_DetailsClient, error) ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*ChangePasswordResp, error) ResetPassword(ctx context.Context, in *ResetPasswordReq, opts ...grpc.CallOption) (*ResetPasswordResp, error) }
UsersClient is the client API for Users 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 NewUsersClient ¶
func NewUsersClient(cc grpc.ClientConnInterface) UsersClient
type UsersServer ¶
type UsersServer interface { Create(context.Context, *CreateReq) (*CreateResp, error) Update(context.Context, *UpdateReq) (*UpdateResp, error) Delete(context.Context, *DeleteReq) (*DeleteResp, error) Disable(context.Context, *DisableReq) (*DisableResp, error) Enable(context.Context, *EnableReq) (*EnableResp, error) Details(*DetailsReq, Users_DetailsServer) error ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordResp, error) ResetPassword(context.Context, *ResetPasswordReq) (*ResetPasswordResp, error) // contains filtered or unexported methods }
UsersServer is the server API for Users service. All implementations must embed UnimplementedUsersServer for forward compatibility
type Users_DetailsClient ¶
type Users_DetailsClient interface { Recv() (*DetailsResp, error) grpc.ClientStream }
type Users_DetailsServer ¶
type Users_DetailsServer interface { Send(*DetailsResp) error grpc.ServerStream }