handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Profile_GenderType_name = map[int32]profile.Gender{
		0: profile.GenderUnspecified,
		1: profile.GenderMale,
		2: profile.GenderFemale,
	}
)

Functions

func NewProfileHandler

func NewProfileHandler(repo repository.ProfileRepository, logger zerolog.Logger) profilev1.ProfileServiceServer

NewProfileHandler returns an instance of `ProfileServiceHandler`.

func NewUserHandler

func NewUserHandler(repo repository.UserRepository, emailerPublisher broker.Publisher, greeterClient greeterv1.GreeterServiceClient) userv1.UserServiceServer

NewUserHandler returns an instance of `UserServiceHandler`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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