user

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserService_UserCreate_FullMethodName            = "/user.UserService/UserCreate"
	UserService_UserUpdate_FullMethodName            = "/user.UserService/UserUpdate"
	UserService_UserDelete_FullMethodName            = "/user.UserService/UserDelete"
	UserService_UserDetail_FullMethodName            = "/user.UserService/UserDetail"
	UserService_UserList_FullMethodName              = "/user.UserService/UserList"
	UserService_UserResetPwd_FullMethodName          = "/user.UserService/UserResetPwd"
	UserService_UserBatchOpt_FullMethodName          = "/user.UserService/UserBatchOpt"
	UserService_RegisterGetTenant_FullMethodName     = "/user.UserService/RegisterGetTenant"
	UserService_GetUserIDListByTenant_FullMethodName = "/user.UserService/GetUserIDListByTenant"
	UserService_UserExpireDateCheck_FullMethodName   = "/user.UserService/UserExpireDateCheck"
)

Variables

View Source
var File_proto_user_proto protoreflect.FileDescriptor
View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "user.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserCreate",
			Handler:    _UserService_UserCreate_Handler,
		},
		{
			MethodName: "UserUpdate",
			Handler:    _UserService_UserUpdate_Handler,
		},
		{
			MethodName: "UserDelete",
			Handler:    _UserService_UserDelete_Handler,
		},
		{
			MethodName: "UserDetail",
			Handler:    _UserService_UserDetail_Handler,
		},
		{
			MethodName: "UserList",
			Handler:    _UserService_UserList_Handler,
		},
		{
			MethodName: "UserResetPwd",
			Handler:    _UserService_UserResetPwd_Handler,
		},
		{
			MethodName: "UserBatchOpt",
			Handler:    _UserService_UserBatchOpt_Handler,
		},
		{
			MethodName: "RegisterGetTenant",
			Handler:    _UserService_RegisterGetTenant_Handler,
		},
		{
			MethodName: "GetUserIDListByTenant",
			Handler:    _UserService_GetUserIDListByTenant_Handler,
		},
		{
			MethodName: "UserExpireDateCheck",
			Handler:    _UserService_UserExpireDateCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type BatchOptReq

type BatchOptReq struct {
	Ids    []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	Status int32    `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchOptReq) Descriptor deprecated

func (*BatchOptReq) Descriptor() ([]byte, []int)

Deprecated: Use BatchOptReq.ProtoReflect.Descriptor instead.

func (*BatchOptReq) GetIds

func (x *BatchOptReq) GetIds() []string

func (*BatchOptReq) GetStatus

func (x *BatchOptReq) GetStatus() int32

func (*BatchOptReq) ProtoMessage

func (*BatchOptReq) ProtoMessage()

func (*BatchOptReq) ProtoReflect

func (x *BatchOptReq) ProtoReflect() protoreflect.Message

func (*BatchOptReq) Reset

func (x *BatchOptReq) Reset()

func (*BatchOptReq) String

func (x *BatchOptReq) String() string

type CreateReq

type CreateReq struct {
	Account    string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Name       string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mphone     string   `protobuf:"bytes,3,opt,name=mphone,proto3" json:"mphone,omitempty"`
	OrgId      string   `protobuf:"bytes,4,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Password   string   `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Type       string   `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Notes      string   `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	ExpireDate string   `protobuf:"bytes,8,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	WhiteIps   string   `protobuf:"bytes,9,opt,name=white_ips,json=whiteIps,proto3" json:"white_ips,omitempty"`
	RoleIds    []string `protobuf:"bytes,10,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReq) Descriptor deprecated

func (*CreateReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.

func (*CreateReq) GetAccount

func (x *CreateReq) GetAccount() string

func (*CreateReq) GetExpireDate

func (x *CreateReq) GetExpireDate() string

func (*CreateReq) GetMphone

func (x *CreateReq) GetMphone() string

func (*CreateReq) GetName

func (x *CreateReq) GetName() string

func (*CreateReq) GetNotes

func (x *CreateReq) GetNotes() string

func (*CreateReq) GetOrgId

func (x *CreateReq) GetOrgId() string

func (*CreateReq) GetPassword

func (x *CreateReq) GetPassword() string

func (*CreateReq) GetRoleIds

func (x *CreateReq) GetRoleIds() []string

func (*CreateReq) GetType

func (x *CreateReq) GetType() string

func (*CreateReq) GetWhiteIps

func (x *CreateReq) GetWhiteIps() string

func (*CreateReq) ProtoMessage

func (*CreateReq) ProtoMessage()

func (*CreateReq) ProtoReflect

func (x *CreateReq) ProtoReflect() protoreflect.Message

func (*CreateReq) Reset

func (x *CreateReq) Reset()

func (*CreateReq) String

func (x *CreateReq) String() string

type DeleteReq

type DeleteReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteReq) Descriptor deprecated

func (*DeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReq.ProtoReflect.Descriptor instead.

func (*DeleteReq) GetId

func (x *DeleteReq) GetId() string

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) ProtoReflect

func (x *DeleteReq) ProtoReflect() protoreflect.Message

func (*DeleteReq) Reset

func (x *DeleteReq) Reset()

func (*DeleteReq) String

func (x *DeleteReq) String() string

type DetailReq

type DetailReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DetailReq) Descriptor deprecated

func (*DetailReq) Descriptor() ([]byte, []int)

Deprecated: Use DetailReq.ProtoReflect.Descriptor instead.

func (*DetailReq) GetId

func (x *DetailReq) GetId() string

func (*DetailReq) ProtoMessage

func (*DetailReq) ProtoMessage()

func (*DetailReq) ProtoReflect

func (x *DetailReq) ProtoReflect() protoreflect.Message

func (*DetailReq) Reset

func (x *DetailReq) Reset()

func (*DetailReq) String

func (x *DetailReq) String() string

type DetailResp

type DetailResp struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Account    string   `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Name       string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Mphone     string   `protobuf:"bytes,4,opt,name=mphone,proto3" json:"mphone,omitempty"`
	OrgId      string   `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	OrgName    string   `protobuf:"bytes,6,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
	Type       string   `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	Notes      string   `protobuf:"bytes,8,opt,name=notes,proto3" json:"notes,omitempty"`
	ExpireDate string   `protobuf:"bytes,9,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	WhiteIps   string   `protobuf:"bytes,10,opt,name=white_ips,json=whiteIps,proto3" json:"white_ips,omitempty"`
	TenantId   string   `protobuf:"bytes,11,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	RoleIds    []string `protobuf:"bytes,12,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DetailResp) Descriptor deprecated

func (*DetailResp) Descriptor() ([]byte, []int)

Deprecated: Use DetailResp.ProtoReflect.Descriptor instead.

func (*DetailResp) GetAccount

func (x *DetailResp) GetAccount() string

func (*DetailResp) GetExpireDate

func (x *DetailResp) GetExpireDate() string

func (*DetailResp) GetId

func (x *DetailResp) GetId() string

func (*DetailResp) GetMphone

func (x *DetailResp) GetMphone() string

func (*DetailResp) GetName

func (x *DetailResp) GetName() string

func (*DetailResp) GetNotes

func (x *DetailResp) GetNotes() string

func (*DetailResp) GetOrgId

func (x *DetailResp) GetOrgId() string

func (*DetailResp) GetOrgName

func (x *DetailResp) GetOrgName() string

func (*DetailResp) GetRoleIds

func (x *DetailResp) GetRoleIds() []string

func (*DetailResp) GetTenantId

func (x *DetailResp) GetTenantId() string

func (*DetailResp) GetType

func (x *DetailResp) GetType() string

func (*DetailResp) GetWhiteIps

func (x *DetailResp) GetWhiteIps() string

func (*DetailResp) ProtoMessage

func (*DetailResp) ProtoMessage()

func (*DetailResp) ProtoReflect

func (x *DetailResp) ProtoReflect() protoreflect.Message

func (*DetailResp) Reset

func (x *DetailResp) Reset()

func (*DetailResp) String

func (x *DetailResp) String() string

type EmptyRequest

type EmptyRequest struct {
	// contains filtered or unexported fields
}

func (*EmptyRequest) Descriptor deprecated

func (*EmptyRequest) Descriptor() ([]byte, []int)

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

func (x *EmptyRequest) ProtoReflect() protoreflect.Message

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type EmptyResp

type EmptyResp struct {
	// contains filtered or unexported fields
}

func (*EmptyResp) Descriptor deprecated

func (*EmptyResp) Descriptor() ([]byte, []int)

Deprecated: Use EmptyResp.ProtoReflect.Descriptor instead.

func (*EmptyResp) ProtoMessage

func (*EmptyResp) ProtoMessage()

func (*EmptyResp) ProtoReflect

func (x *EmptyResp) ProtoReflect() protoreflect.Message

func (*EmptyResp) Reset

func (x *EmptyResp) Reset()

func (*EmptyResp) String

func (x *EmptyResp) String() string

type GetUserIDListByTenantReq

type GetUserIDListByTenantReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserIDListByTenantReq) Descriptor deprecated

func (*GetUserIDListByTenantReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserIDListByTenantReq.ProtoReflect.Descriptor instead.

func (*GetUserIDListByTenantReq) GetTenantId

func (x *GetUserIDListByTenantReq) GetTenantId() string

func (*GetUserIDListByTenantReq) ProtoMessage

func (*GetUserIDListByTenantReq) ProtoMessage()

func (*GetUserIDListByTenantReq) ProtoReflect

func (x *GetUserIDListByTenantReq) ProtoReflect() protoreflect.Message

func (*GetUserIDListByTenantReq) Reset

func (x *GetUserIDListByTenantReq) Reset()

func (*GetUserIDListByTenantReq) String

func (x *GetUserIDListByTenantReq) String() string

type ListItem

type ListItem struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Account       string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Mphone        string `protobuf:"bytes,3,opt,name=mphone,proto3" json:"mphone,omitempty"`
	Name          string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Status        int32  `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	LastLoginTime int64  `protobuf:"varint,6,opt,name=last_login_time,json=lastLoginTime,proto3" json:"last_login_time,omitempty"`
	Type          string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListItem) Descriptor deprecated

func (*ListItem) Descriptor() ([]byte, []int)

Deprecated: Use ListItem.ProtoReflect.Descriptor instead.

func (*ListItem) GetAccount

func (x *ListItem) GetAccount() string

func (*ListItem) GetId

func (x *ListItem) GetId() string

func (*ListItem) GetLastLoginTime

func (x *ListItem) GetLastLoginTime() int64

func (*ListItem) GetMphone

func (x *ListItem) GetMphone() string

func (*ListItem) GetName

func (x *ListItem) GetName() string

func (*ListItem) GetStatus

func (x *ListItem) GetStatus() int32

func (*ListItem) GetType

func (x *ListItem) GetType() string

func (*ListItem) ProtoMessage

func (*ListItem) ProtoMessage()

func (*ListItem) ProtoReflect

func (x *ListItem) ProtoReflect() protoreflect.Message

func (*ListItem) Reset

func (x *ListItem) Reset()

func (*ListItem) String

func (x *ListItem) String() string

type ListReq

type ListReq struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mphone   string `protobuf:"bytes,2,opt,name=mphone,proto3" json:"mphone,omitempty"`
	Status   int32  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	PageNo   int32  `protobuf:"varint,4,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"`
	PageSize int32  `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReq) Descriptor deprecated

func (*ListReq) Descriptor() ([]byte, []int)

Deprecated: Use ListReq.ProtoReflect.Descriptor instead.

func (*ListReq) GetMphone

func (x *ListReq) GetMphone() string

func (*ListReq) GetName

func (x *ListReq) GetName() string

func (*ListReq) GetPageNo

func (x *ListReq) GetPageNo() int32

func (*ListReq) GetPageSize

func (x *ListReq) GetPageSize() int32

func (*ListReq) GetStatus

func (x *ListReq) GetStatus() int32

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

func (x *ListReq) ProtoReflect() protoreflect.Message

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) String

func (x *ListReq) String() string

type ListResp

type ListResp struct {
	PageNo   int32       `protobuf:"varint,1,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"`
	PageSize int32       `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Total    int64       `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	List     []*ListItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResp) Descriptor deprecated

func (*ListResp) Descriptor() ([]byte, []int)

Deprecated: Use ListResp.ProtoReflect.Descriptor instead.

func (*ListResp) GetList

func (x *ListResp) GetList() []*ListItem

func (*ListResp) GetPageNo

func (x *ListResp) GetPageNo() int32

func (*ListResp) GetPageSize

func (x *ListResp) GetPageSize() int32

func (*ListResp) GetTotal

func (x *ListResp) GetTotal() int64

func (*ListResp) ProtoMessage

func (*ListResp) ProtoMessage()

func (*ListResp) ProtoReflect

func (x *ListResp) ProtoReflect() protoreflect.Message

func (*ListResp) Reset

func (x *ListResp) Reset()

func (*ListResp) String

func (x *ListResp) String() string

type RegisterGetTenantReq

type RegisterGetTenantReq struct {
	Account  string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterGetTenantReq) Descriptor deprecated

func (*RegisterGetTenantReq) Descriptor() ([]byte, []int)

Deprecated: Use RegisterGetTenantReq.ProtoReflect.Descriptor instead.

func (*RegisterGetTenantReq) GetAccount

func (x *RegisterGetTenantReq) GetAccount() string

func (*RegisterGetTenantReq) GetPassword

func (x *RegisterGetTenantReq) GetPassword() string

func (*RegisterGetTenantReq) ProtoMessage

func (*RegisterGetTenantReq) ProtoMessage()

func (*RegisterGetTenantReq) ProtoReflect

func (x *RegisterGetTenantReq) ProtoReflect() protoreflect.Message

func (*RegisterGetTenantReq) Reset

func (x *RegisterGetTenantReq) Reset()

func (*RegisterGetTenantReq) String

func (x *RegisterGetTenantReq) String() string

type RegisterGetTenantResp

type RegisterGetTenantResp struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterGetTenantResp) Descriptor deprecated

func (*RegisterGetTenantResp) Descriptor() ([]byte, []int)

Deprecated: Use RegisterGetTenantResp.ProtoReflect.Descriptor instead.

func (*RegisterGetTenantResp) GetTenantId

func (x *RegisterGetTenantResp) GetTenantId() string

func (*RegisterGetTenantResp) ProtoMessage

func (*RegisterGetTenantResp) ProtoMessage()

func (*RegisterGetTenantResp) ProtoReflect

func (x *RegisterGetTenantResp) ProtoReflect() protoreflect.Message

func (*RegisterGetTenantResp) Reset

func (x *RegisterGetTenantResp) Reset()

func (*RegisterGetTenantResp) String

func (x *RegisterGetTenantResp) String() string

type ResetPwdReq

type ResetPwdReq struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPwdReq) Descriptor deprecated

func (*ResetPwdReq) Descriptor() ([]byte, []int)

Deprecated: Use ResetPwdReq.ProtoReflect.Descriptor instead.

func (*ResetPwdReq) GetId

func (x *ResetPwdReq) GetId() string

func (*ResetPwdReq) GetPassword

func (x *ResetPwdReq) GetPassword() string

func (*ResetPwdReq) ProtoMessage

func (*ResetPwdReq) ProtoMessage()

func (*ResetPwdReq) ProtoReflect

func (x *ResetPwdReq) ProtoReflect() protoreflect.Message

func (*ResetPwdReq) Reset

func (x *ResetPwdReq) Reset()

func (*ResetPwdReq) String

func (x *ResetPwdReq) String() string

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) GetUserIDListByTenant

func (UnimplementedUserServiceServer) RegisterGetTenant

func (UnimplementedUserServiceServer) UserBatchOpt

func (UnimplementedUserServiceServer) UserCreate

func (UnimplementedUserServiceServer) UserDelete

func (UnimplementedUserServiceServer) UserDetail

func (UnimplementedUserServiceServer) UserExpireDateCheck

func (UnimplementedUserServiceServer) UserList

func (UnimplementedUserServiceServer) UserResetPwd

func (UnimplementedUserServiceServer) UserUpdate

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UpdateReq

type UpdateReq struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mphone     string   `protobuf:"bytes,3,opt,name=mphone,proto3" json:"mphone,omitempty"`
	OrgId      string   `protobuf:"bytes,4,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Type       string   `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Notes      string   `protobuf:"bytes,6,opt,name=notes,proto3" json:"notes,omitempty"`
	ExpireDate string   `protobuf:"bytes,7,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	WhiteIps   string   `protobuf:"bytes,8,opt,name=white_ips,json=whiteIps,proto3" json:"white_ips,omitempty"`
	RoleIds    []string `protobuf:"bytes,9,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateReq) Descriptor deprecated

func (*UpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateReq.ProtoReflect.Descriptor instead.

func (*UpdateReq) GetExpireDate

func (x *UpdateReq) GetExpireDate() string

func (*UpdateReq) GetId

func (x *UpdateReq) GetId() string

func (*UpdateReq) GetMphone

func (x *UpdateReq) GetMphone() string

func (*UpdateReq) GetName

func (x *UpdateReq) GetName() string

func (*UpdateReq) GetNotes

func (x *UpdateReq) GetNotes() string

func (*UpdateReq) GetOrgId

func (x *UpdateReq) GetOrgId() string

func (*UpdateReq) GetRoleIds

func (x *UpdateReq) GetRoleIds() []string

func (*UpdateReq) GetType

func (x *UpdateReq) GetType() string

func (*UpdateReq) GetWhiteIps

func (x *UpdateReq) GetWhiteIps() string

func (*UpdateReq) ProtoMessage

func (*UpdateReq) ProtoMessage()

func (*UpdateReq) ProtoReflect

func (x *UpdateReq) ProtoReflect() protoreflect.Message

func (*UpdateReq) Reset

func (x *UpdateReq) Reset()

func (*UpdateReq) String

func (x *UpdateReq) String() string

type UserIDList

type UserIDList struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIDList) Descriptor deprecated

func (*UserIDList) Descriptor() ([]byte, []int)

Deprecated: Use UserIDList.ProtoReflect.Descriptor instead.

func (*UserIDList) GetUserIds

func (x *UserIDList) GetUserIds() []string

func (*UserIDList) ProtoMessage

func (*UserIDList) ProtoMessage()

func (*UserIDList) ProtoReflect

func (x *UserIDList) ProtoReflect() protoreflect.Message

func (*UserIDList) Reset

func (x *UserIDList) Reset()

func (*UserIDList) String

func (x *UserIDList) String() string

type UserServiceClient

type UserServiceClient interface {
	UserCreate(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	UserUpdate(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	UserDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*EmptyResp, error)
	UserDetail(ctx context.Context, in *DetailReq, opts ...grpc.CallOption) (*DetailResp, error)
	UserList(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*ListResp, error)
	UserResetPwd(ctx context.Context, in *ResetPwdReq, opts ...grpc.CallOption) (*EmptyResp, error)
	UserBatchOpt(ctx context.Context, in *BatchOptReq, opts ...grpc.CallOption) (*EmptyResp, error)
	RegisterGetTenant(ctx context.Context, in *RegisterGetTenantReq, opts ...grpc.CallOption) (*RegisterGetTenantResp, error)
	GetUserIDListByTenant(ctx context.Context, in *GetUserIDListByTenantReq, opts ...grpc.CallOption) (*UserIDList, error)
	UserExpireDateCheck(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResp, error)
}

UserServiceClient is the client API for UserService 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.

type UserServiceServer

type UserServiceServer interface {
	UserCreate(context.Context, *CreateReq) (*EmptyResp, error)
	UserUpdate(context.Context, *UpdateReq) (*EmptyResp, error)
	UserDelete(context.Context, *DeleteReq) (*EmptyResp, error)
	UserDetail(context.Context, *DetailReq) (*DetailResp, error)
	UserList(context.Context, *ListReq) (*ListResp, error)
	UserResetPwd(context.Context, *ResetPwdReq) (*EmptyResp, error)
	UserBatchOpt(context.Context, *BatchOptReq) (*EmptyResp, error)
	RegisterGetTenant(context.Context, *RegisterGetTenantReq) (*RegisterGetTenantResp, error)
	GetUserIDListByTenant(context.Context, *GetUserIDListByTenantReq) (*UserIDList, error)
	UserExpireDateCheck(context.Context, *EmptyRequest) (*EmptyResp, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL