userservice

package
v0.0.0-...-efd9455 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResp

type BaseResp = pb.BaseResp

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 LoginResp

type LoginResp = pb.LoginResp

type UpdateUserReq

type UpdateUserReq = pb.UpdateUserReq

type UpdateUserResp

type UpdateUserResp = pb.UpdateUserResp

type User

type User = pb.User

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

Jump to

Keyboard shortcuts

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