user

package
v0.0.0-...-04961f1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: GPL-3.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 FindByIdRequest

type FindByIdRequest = service.FindByIdRequest

type FindByIdResponse

type FindByIdResponse = service.FindByIdResponse

type FindByMobileRequest

type FindByMobileRequest = service.FindByMobileRequest

type FindByMobileResponse

type FindByMobileResponse = service.FindByMobileResponse

type RegisterRequest

type RegisterRequest = service.RegisterRequest

type RegisterResponse

type RegisterResponse = service.RegisterResponse

type SendSmsRequest

type SendSmsRequest = service.SendSmsRequest

type SendSmsResponse

type SendSmsResponse = service.SendSmsResponse

type User

type User interface {
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	FindById(ctx context.Context, in *FindByIdRequest, opts ...grpc.CallOption) (*FindByIdResponse, error)
	FindByMobile(ctx context.Context, in *FindByMobileRequest, opts ...grpc.CallOption) (*FindByMobileResponse, error)
	SendSms(ctx context.Context, in *SendSmsRequest, opts ...grpc.CallOption) (*SendSmsResponse, error)
}

func NewUser

func NewUser(cli zrpc.Client) User

Jump to

Keyboard shortcuts

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