controller

package
v0.0.0-...-02df6e7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DbError = errors.New("DBと接続でエラーが発生しました")
)

Functions

func RegisterUserManagementServer

func RegisterUserManagementServer(logger *zap.SugaredLogger, db *sql.DB, server *grpc.Server)

Types

type UserServer

type UserServer struct {
	pb.UnimplementedUserManagementServer
	// contains filtered or unexported fields
}

func (*UserServer) AddUser

func (server *UserServer) AddUser(ctx context.Context, req *pb.AddUserRequest) (*pb.AddUserReply, error)

Jump to

Keyboard shortcuts

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