Documentation ¶
Overview ¶
Package grpc provides user grpc server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(cb commandbus.CommandBus, r persistence.UserRepository, l *log.Logger) proto.UserServiceServer
NewServer returns new user server object
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter is grpc server app adapter
func NewAdapter ¶
func NewAdapter(address string, server *grpcmain.Server, healthServer *grpchealth.Server, userServer userproto.UserServiceServer) *Adapter
NewAdapter provides new primary adapter
Click to show internal directories.
Click to hide internal directories.