MCPcopy Create free account

hub / github.com/PacktPublishing/Designing-Microservices-Platforms-with-NATS / functions

Functions111 in github.com/PacktPublishing/Designing-Microservices-Platforms-with-NATS

↓ 17 callersMethodDB
Component returns the current Database connection.
chapter6/shared/component.go:54
↓ 17 callersMethodDB
Component returns the current Database connection.
chapter9/OPD-Microservice-Code/shared/component.go:54
↓ 9 callersMethodNATS
NATS returns the current NATS connection.
chapter6/shared/component.go:96
↓ 9 callersMethodNATS
NATS returns the current NATS connection.
chapter9/OPD-Microservice-Code/shared/component.go:96
↓ 8 callersMethodName
Name is the label used to identify the NATS connection.
chapter6/shared/component.go:110
↓ 4 callersMethodSetupConnectionToDB
SetupConnectionToDB creates a connection to the database
chapter6/shared/component.go:42
↓ 4 callersMethodSetupConnectionToDB
SetupConnectionToDB creates a connection to the database
chapter9/OPD-Microservice-Code/shared/component.go:42
↓ 4 callersMethodSetupConnectionToNATS
SetupConnectionToNATS connects to NATS and registers the event callbacks and makes it available for discovery requests as well.
chapter6/shared/component.go:62
↓ 4 callersMethodSetupConnectionToNATS
SetupConnectionToNATS connects to NATS and registers the event callbacks and makes it available for discovery requests as well.
chapter9/OPD-Microservice-Code/shared/component.go:62
↓ 3 callersFunctiongenerateTokenNumber
generateTokenNumber Generate token number for patient
chapter6/registration-service/registration.go:32
↓ 3 callersFunctiongenerateTokenNumber
generateTokenNumber Generate token number for patient
chapter9/OPD-Microservice-Code/registration-service/registration.go:32
↓ 2 callersMethodName
Name is the label used to identify the NATS connection.
chapter9/OPD-Microservice-Code/shared/component.go:110
↓ 2 callersMethodgetGreeting
()
chapter4/java-samples/app/src/main/java/natsbook/java/samples/App.java:13
↓ 1 callersFunctionListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter8/observability-sample/publisher/main.go:116
↓ 1 callersFunctionListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter8/observability-sample/subscriber/main.go:93
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/inspection-service/inspection.go:183
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/registration-service/registration.go:186
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/release-service/release.go:151
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/treatment-service/treatment.go:266
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:183
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter9/OPD-Microservice-Code/registration-service/registration.go:186
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter9/OPD-Microservice-Code/release-service/release.go:151
↓ 1 callersMethodListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:266
↓ 1 callersMethodListenRegisterEvents
Listen to patient registration events
chapter6/inspection-service/inspection.go:29
↓ 1 callersMethodListenRegisterEvents
Listen to patient registration events
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:29
↓ 1 callersMethodListenReleaseEvents
ListenReleaseEvents Listen to release events and update the temporary table
chapter6/release-service/release.go:30
↓ 1 callersMethodListenReleaseEvents
ListenReleaseEvents Listen to release events and update the temporary table
chapter9/OPD-Microservice-Code/release-service/release.go:30
↓ 1 callersMethodListenTreatmentEvents
ListenTreatmentEvents listens to events coming from inspection service
chapter6/treatment-service/treatment.go:29
↓ 1 callersMethodListenTreatmentEvents
ListenTreatmentEvents listens to events coming from inspection service
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:29
↓ 1 callersFunctionNewResponseWriter
(w http.ResponseWriter)
chapter8/observability-sample/publisher/main.go:185
↓ 1 callersFunctionNewResponseWriter
(w http.ResponseWriter)
chapter8/observability-sample/subscriber/main.go:160
↓ 1 callersFunctioninitLoggers
()
chapter8/observability-sample/publisher/main.go:149
↓ 1 callersFunctioninitLoggers
()
chapter8/observability-sample/subscriber/main.go:124
↓ 1 callersFunctioninitTracing
()
chapter8/observability-sample/publisher/main.go:161
↓ 1 callersFunctioninitTracing
()
chapter8/observability-sample/subscriber/main.go:136
↓ 1 callersMethodpublishNATS
()
chapter4/java-samples/app/src/main/java/natsbook/java/samples/App.java:17
↓ 1 callersFunctionrun
(loop)
chapter4/python-samples/sample.py:5
MethodHandleDischargeRecord
HandleDischargeRecord processes patient discharge requests.
chapter6/release-service/release.go:91
MethodHandleDischargeRecord
HandleDischargeRecord processes patient discharge requests.
chapter9/OPD-Microservice-Code/release-service/release.go:91
FunctionHandleHealthCheck
(w http.ResponseWriter, r *http.Request)
chapter8/observability-sample/publisher/main.go:145
FunctionHandleHealthCheck
(w http.ResponseWriter, r *http.Request)
chapter8/observability-sample/subscriber/main.go:120
MethodHandleHistory
HandleHistory processes requests to view inspection history.
chapter6/inspection-service/inspection.go:142
MethodHandleHistory
HandleHistory processes requests to view inspection history.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:142
MethodHandleHistoryView
HandleHistoryView processes requests to view medication history data.
chapter6/treatment-service/treatment.go:228
MethodHandleHistoryView
HandleHistoryView processes requests to view medication history data.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:228
MethodHandleHomeLink
HandleHomeLink respond with the version of the service
chapter6/inspection-service/inspection.go:177
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/registration-service/registration.go:180
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/release-service/release.go:145
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/treatment-service/treatment.go:260
MethodHandleHomeLink
HandleHomeLink respond with the version of the service
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:177
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/registration-service/registration.go:180
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/release-service/release.go:145
MethodHandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:260
MethodHandleMedicationRecord
HandleMedicationRecord processes patient medication record requests.
chapter6/treatment-service/treatment.go:157
MethodHandleMedicationRecord
HandleMedicationRecord processes patient medication record requests.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:157
MethodHandlePending
HandlePending processes requests to view pending inspections.
chapter6/inspection-service/inspection.go:57
MethodHandlePending
HandlePending processes requests to view pending inspections.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:57
MethodHandlePendingView
HandlePendingView processes requests to view pending releases.
chapter6/release-service/release.go:58
MethodHandlePendingView
HandlePendingView processes requests to view pending treatments.
chapter6/treatment-service/treatment.go:57
MethodHandlePendingView
HandlePendingView processes requests to view pending releases.
chapter9/OPD-Microservice-Code/release-service/release.go:58
MethodHandlePendingView
HandlePendingView processes requests to view pending treatments.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:57
MethodHandleRecord
HandleRecord processes patient inspection record requests.
chapter6/inspection-service/inspection.go:88
MethodHandleRecord
HandleRecord processes patient inspection record requests.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:88
MethodHandleRegister
HandleRegister processes patient registration requests.
chapter6/registration-service/registration.go:74
MethodHandleRegister
HandleRegister processes patient registration requests.
chapter9/OPD-Microservice-Code/registration-service/registration.go:74
MethodHandleRelease
HandleRelease processes requests to initiate a patient release.
chapter6/treatment-service/treatment.go:89
MethodHandleRelease
HandleRelease processes requests to initiate a patient release.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:89
MethodHandleTestRecord
HandleTestRecord processes recording of tests related requests.
chapter6/treatment-service/treatment.go:128
MethodHandleTestRecord
HandleTestRecord processes recording of tests related requests.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:128
MethodHandleTestView
HandleTestView processes requests to view test data.
chapter6/treatment-service/treatment.go:192
MethodHandleTestView
HandleTestView processes requests to view test data.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:192
MethodHandleToken
HandleToken processes token generation requests for registered patients.
chapter6/registration-service/registration.go:49
MethodHandleToken
HandleToken processes token generation requests for registered patients.
chapter9/OPD-Microservice-Code/registration-service/registration.go:49
MethodHandleTokenReset
HandleTokenReset processes token reset requests.
chapter6/registration-service/registration.go:42
MethodHandleTokenReset
HandleTokenReset processes token reset requests.
chapter9/OPD-Microservice-Code/registration-service/registration.go:42
MethodHandleUpdate
HandleUpdate processes requests to update patient details.
chapter6/registration-service/registration.go:123
MethodHandleUpdate
HandleUpdate processes requests to update patient details.
chapter9/OPD-Microservice-Code/registration-service/registration.go:123
MethodHandleView
HandleView processes requests to view patient data.
chapter6/registration-service/registration.go:150
MethodHandleView
HandleView processes requests to view patient data.
chapter9/OPD-Microservice-Code/registration-service/registration.go:150
MethodID
ID returns the ID from the component.
chapter6/shared/component.go:103
MethodID
ID returns the ID from the component.
chapter9/OPD-Microservice-Code/shared/component.go:103
FunctionNewComponent
NewComponent creates a
chapter6/shared/component.go:33
FunctionNewComponent
NewComponent creates a
chapter9/OPD-Microservice-Code/shared/component.go:33
MethodShutdown
Shutdown makes the component go away.
chapter6/shared/component.go:117
MethodShutdown
Shutdown makes the component go away.
chapter9/OPD-Microservice-Code/shared/component.go:117
MethodWriteHeader
(code int)
chapter8/observability-sample/publisher/main.go:189
MethodWriteHeader
(code int)
chapter8/observability-sample/subscriber/main.go:164
Functionmain
()
chapter7/certs/publisher/main.go:8
Functionmain
()
chapter7/certs/subscriber/main.go:10
Functionmain
()
chapter7/certs/publisher-auth/main.go:8
Functionmain
()
chapter7/certs/subscriber-auth/main.go:10
Functionmain
()
chapter8/publisher/main.go:9
Functionmain
()
chapter8/subs-3/main.go:10
Functionmain
()
chapter8/subs-2/main.go:10
Functionmain
()
chapter8/observability-sample/publisher/main.go:69
Functionmain
()
chapter8/observability-sample/subscriber/main.go:52
Functionmain
()
chapter8/subs-1/main.go:10
Functionmain
()
chapter6/inspection-service/cmd/main.go:15
Functionmain
()
chapter6/registration-service/cmd/main.go:15
Functionmain
()
chapter6/release-service/cmd/main.go:15
next →1–100 of 111, ranked by callers