userrpc

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: GPL-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 GetUserDetailReq added in v1.0.6

type GetUserDetailReq = pb.GetUserDetailReq

type GetUserDetailResp added in v1.0.6

type GetUserDetailResp = pb.GetUserDetailResp

type GetUserReq

type GetUserReq = pb.GetUserReq

type GetUserResp

type GetUserResp = pb.GetUserResp

type SearchUserReq

type SearchUserReq = pb.SearchUserReq

type SearchUserResp

type SearchUserResp = pb.SearchUserResp

type UpdateUserReq

type UpdateUserReq = pb.UpdateUserReq

type UpdateUserResp

type UpdateUserResp = pb.UpdateUserResp

type User

type User = pb.User

type UserDetail added in v1.0.6

type UserDetail = pb.UserDetail

type UserRpc

type UserRpc interface {
	GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
	GetUserDetail(ctx context.Context, in *GetUserDetailReq, opts ...grpc.CallOption) (*GetUserDetailResp, error)
	UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserResp, error)
	SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
}

func NewUserRpc

func NewUserRpc(cli zrpc.Client) UserRpc

Jump to

Keyboard shortcuts

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