Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthHandler ¶
func NewHealthHandler() grpchealth.HealthServer
func NewIdentityHandler ¶
func NewIdentityHandler( svc *application.IdentityService, ) pb.IdentityServiceServer
func NewService ¶
func NewService(opts ServiceOpts) (interfaces.Service, error)
func UnaryInterceptor ¶
func UnaryInterceptor() grpc.ServerOption
UnaryInterceptor returns the unary interceptor
Types ¶
type ServiceOpts ¶
type ServiceOpts struct { Port int IdentitySvc *application.IdentityService TLSKeyPath string TLSCertPath string RequestTimeout int RequestSize int }
Click to show internal directories.
Click to hide internal directories.