Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(secret string) grpc.UnaryServerInterceptor
Types ¶
type AuthHandler ¶
type AuthHandler struct {
proto.UnimplementedAuthIntegrationServer
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(ps ports.PatientService) *AuthHandler
func (*AuthHandler) CreatePatient ¶
func (h *AuthHandler) CreatePatient(ctx context.Context, req *proto.CreatePatientRequest) (*proto.CreatePatientResponse, error)
Click to show internal directories.
Click to hide internal directories.