profile

package
v0.0.0-...-c9859a8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module register user service in DI container

Functions

func RegisterUserService

func RegisterUserService(s *grpc.Server, db *sql.DB)

RegisterUserService .

Types

type UserService

type UserService struct {
	*sql.DB
}

UserService .

func (*UserService) Create

Create .

func (*UserService) Delete

func (s *UserService) Delete(ctx context.Context, in *profile.DeleteRequest) (*empty.Empty, error)

Delete .

func (*UserService) Read

Read .

func (*UserService) ReadAll

ReadAll .

func (*UserService) Update

func (s *UserService) Update(ctx context.Context, in *profile.UpdateRequest) (*empty.Empty, error)

Update .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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