service

package
v0.0.0-...-49721f6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

* Description: 用于完成user_service,调用dal层实现对数据库的操作,供rpc调用。 * Author: sangs * Date: 2023-08-12

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserServiceImpl

type UserServiceImpl struct{}

UserServiceImpl implements the last service interface defined in the IDL.

func (*UserServiceImpl) GetUser

func (s *UserServiceImpl) GetUser(ctx context.Context, req *user.UserRequest) (resp *user.UserResponse, err error)

GetUser implements the UserServiceImpl interface.

func (*UserServiceImpl) UserLogin

func (s *UserServiceImpl) UserLogin(ctx context.Context, req *user.UserLoRegRequest) (resp *user.UserLoRegResponse, err error)

UserLogin implements the UserServiceImpl interface.

func (*UserServiceImpl) UserRegister

func (s *UserServiceImpl) UserRegister(ctx context.Context, req *user.UserLoRegRequest) (resp *user.UserLoRegResponse, err error)

UserRegister implements the UserServiceImpl interface.

Jump to

Keyboard shortcuts

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