Documentation ¶
Index ¶
- type UserServiceServer
- func (u *UserServiceServer) FindOrCreate(ctx context.Context, request *userv1.FindOrCreateRequest) (*userv1.FindOrCreateResponse, error)
- func (u *UserServiceServer) FindOrCreateByWechat(ctx context.Context, request *userv1.FindOrCreateByWechatRequest) (*userv1.FindOrCreateByWechatResponse, error)
- func (u *UserServiceServer) Login(ctx context.Context, request *userv1.LoginRequest) (*userv1.LoginResponse, error)
- func (u *UserServiceServer) Profile(ctx context.Context, request *userv1.ProfileRequest) (*userv1.ProfileResponse, error)
- func (u *UserServiceServer) Register(server grpc.ServiceRegistrar)
- func (u *UserServiceServer) Signup(ctx context.Context, request *userv1.SignupRequest) (*userv1.SignupResponse, error)
- func (u *UserServiceServer) UpdateNonSensitiveInfo(ctx context.Context, request *userv1.UpdateNonSensitiveInfoRequest) (*userv1.UpdateNonSensitiveInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceServer ¶
type UserServiceServer struct { userv1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServiceServer ¶
func NewUserServiceServer(svc service.UserService) *UserServiceServer
func (*UserServiceServer) FindOrCreate ¶
func (u *UserServiceServer) FindOrCreate(ctx context.Context, request *userv1.FindOrCreateRequest) (*userv1.FindOrCreateResponse, error)
func (*UserServiceServer) FindOrCreateByWechat ¶
func (u *UserServiceServer) FindOrCreateByWechat(ctx context.Context, request *userv1.FindOrCreateByWechatRequest) (*userv1.FindOrCreateByWechatResponse, error)
func (*UserServiceServer) Login ¶
func (u *UserServiceServer) Login(ctx context.Context, request *userv1.LoginRequest) (*userv1.LoginResponse, error)
func (*UserServiceServer) Profile ¶
func (u *UserServiceServer) Profile(ctx context.Context, request *userv1.ProfileRequest) (*userv1.ProfileResponse, error)
func (*UserServiceServer) Register ¶
func (u *UserServiceServer) Register(server grpc.ServiceRegistrar)
func (*UserServiceServer) Signup ¶
func (u *UserServiceServer) Signup(ctx context.Context, request *userv1.SignupRequest) (*userv1.SignupResponse, error)
func (*UserServiceServer) UpdateNonSensitiveInfo ¶
func (u *UserServiceServer) UpdateNonSensitiveInfo(ctx context.Context, request *userv1.UpdateNonSensitiveInfoRequest) (*userv1.UpdateNonSensitiveInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.