Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserByIdReq ¶
type GetUserByIdReq = pb.GetUserByIdReq
type GetUserByIdsReq ¶
type GetUserByIdsReq = pb.GetUserByIdsReq
type GetUserByUsernameReq ¶
type GetUserByUsernameReq = pb.GetUserByUsernameReq
type GetUserListResp ¶
type GetUserListResp = pb.GetUserListResp
type GetUserResp ¶
type GetUserResp = pb.GetUserResp
type InsertUserReq ¶
type InsertUserReq = pb.InsertUserReq
type InsertUserResp ¶
type InsertUserResp = pb.InsertUserResp
type LoginByIdReq ¶
type LoginByIdReq = pb.LoginByIdReq
type LoginByPasswordReq ¶
type LoginByPasswordReq = pb.LoginByPasswordReq
type UpdateUserReq ¶
type UpdateUserReq = pb.UpdateUserReq
type UpdateUserResp ¶
type UpdateUserResp = pb.UpdateUserResp
type UserService ¶
type UserService interface { GetUserById(ctx context.Context, in *GetUserByIdReq, opts ...grpc.CallOption) (*GetUserResp, error) GetUserByIds(ctx context.Context, in *GetUserByIdsReq, opts ...grpc.CallOption) (*GetUserListResp, error) GetUserByUsername(ctx context.Context, in *GetUserByUsernameReq, opts ...grpc.CallOption) (*GetUserResp, error) InsertUser(ctx context.Context, in *InsertUserReq, opts ...grpc.CallOption) (*InsertUserResp, error) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserResp, error) LoginByPassword(ctx context.Context, in *LoginByPasswordReq, opts ...grpc.CallOption) (*LoginResp, error) LoginById(ctx context.Context, in *LoginByIdReq, opts ...grpc.CallOption) (*LoginResp, error) }
func NewUserService ¶
func NewUserService(cli zrpc.Client) UserService
Click to show internal directories.
Click to hide internal directories.