userclient

package
v0.0.0-...-b99263a Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package userclient is client library if you need to call the user Micro-service as a client. It provides client library and the data transformation service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcToUser

func GrpcToUser(user *uspb.User) (*model.User, error)

GrpcToUser converts from grpc User type to domain Model user type

func UserListToGrpc

func UserListToGrpc(ul []model.User) ([]*uspb.User, error)

UserListToGrpc converts from array of domain Model User type to array of grpc user type

func UserToGrpc

func UserToGrpc(user *model.User) (*uspb.User, error)

UserToGrpc converts from domain Model User type to grpc user type

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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