Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Designing-Microservices-Platforms-with-NATS
/ functions
Functions
111 in github.com/PacktPublishing/Designing-Microservices-Platforms-with-NATS
⨍
Functions
111
◇
Types & classes
45
↓ 17 callers
Method
DB
Component returns the current Database connection.
chapter6/shared/component.go:54
↓ 17 callers
Method
DB
Component returns the current Database connection.
chapter9/OPD-Microservice-Code/shared/component.go:54
↓ 9 callers
Method
NATS
NATS returns the current NATS connection.
chapter6/shared/component.go:96
↓ 9 callers
Method
NATS
NATS returns the current NATS connection.
chapter9/OPD-Microservice-Code/shared/component.go:96
↓ 8 callers
Method
Name
Name is the label used to identify the NATS connection.
chapter6/shared/component.go:110
↓ 4 callers
Method
SetupConnectionToDB
SetupConnectionToDB creates a connection to the database
chapter6/shared/component.go:42
↓ 4 callers
Method
SetupConnectionToDB
SetupConnectionToDB creates a connection to the database
chapter9/OPD-Microservice-Code/shared/component.go:42
↓ 4 callers
Method
SetupConnectionToNATS
SetupConnectionToNATS connects to NATS and registers the event callbacks and makes it available for discovery requests as well.
chapter6/shared/component.go:62
↓ 4 callers
Method
SetupConnectionToNATS
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 callers
Function
generateTokenNumber
generateTokenNumber Generate token number for patient
chapter6/registration-service/registration.go:32
↓ 3 callers
Function
generateTokenNumber
generateTokenNumber Generate token number for patient
chapter9/OPD-Microservice-Code/registration-service/registration.go:32
↓ 2 callers
Method
Name
Name is the label used to identify the NATS connection.
chapter9/OPD-Microservice-Code/shared/component.go:110
↓ 2 callers
Method
getGreeting
()
chapter4/java-samples/app/src/main/java/natsbook/java/samples/App.java:13
↓ 1 callers
Function
ListenAndServe
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 callers
Function
ListenAndServe
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 callers
Method
ListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/inspection-service/inspection.go:183
↓ 1 callers
Method
ListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/registration-service/registration.go:186
↓ 1 callers
Method
ListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/release-service/release.go:151
↓ 1 callers
Method
ListenAndServe
ListenAndServe takes the network address and port that the HTTP server should bind to and starts it.
chapter6/treatment-service/treatment.go:266
↓ 1 callers
Method
ListenAndServe
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 callers
Method
ListenAndServe
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 callers
Method
ListenAndServe
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 callers
Method
ListenAndServe
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 callers
Method
ListenRegisterEvents
Listen to patient registration events
chapter6/inspection-service/inspection.go:29
↓ 1 callers
Method
ListenRegisterEvents
Listen to patient registration events
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:29
↓ 1 callers
Method
ListenReleaseEvents
ListenReleaseEvents Listen to release events and update the temporary table
chapter6/release-service/release.go:30
↓ 1 callers
Method
ListenReleaseEvents
ListenReleaseEvents Listen to release events and update the temporary table
chapter9/OPD-Microservice-Code/release-service/release.go:30
↓ 1 callers
Method
ListenTreatmentEvents
ListenTreatmentEvents listens to events coming from inspection service
chapter6/treatment-service/treatment.go:29
↓ 1 callers
Method
ListenTreatmentEvents
ListenTreatmentEvents listens to events coming from inspection service
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:29
↓ 1 callers
Function
NewResponseWriter
(w http.ResponseWriter)
chapter8/observability-sample/publisher/main.go:185
↓ 1 callers
Function
NewResponseWriter
(w http.ResponseWriter)
chapter8/observability-sample/subscriber/main.go:160
↓ 1 callers
Function
initLoggers
()
chapter8/observability-sample/publisher/main.go:149
↓ 1 callers
Function
initLoggers
()
chapter8/observability-sample/subscriber/main.go:124
↓ 1 callers
Function
initTracing
()
chapter8/observability-sample/publisher/main.go:161
↓ 1 callers
Function
initTracing
()
chapter8/observability-sample/subscriber/main.go:136
↓ 1 callers
Method
publishNATS
()
chapter4/java-samples/app/src/main/java/natsbook/java/samples/App.java:17
↓ 1 callers
Function
run
(loop)
chapter4/python-samples/sample.py:5
Method
HandleDischargeRecord
HandleDischargeRecord processes patient discharge requests.
chapter6/release-service/release.go:91
Method
HandleDischargeRecord
HandleDischargeRecord processes patient discharge requests.
chapter9/OPD-Microservice-Code/release-service/release.go:91
Function
HandleHealthCheck
(w http.ResponseWriter, r *http.Request)
chapter8/observability-sample/publisher/main.go:145
Function
HandleHealthCheck
(w http.ResponseWriter, r *http.Request)
chapter8/observability-sample/subscriber/main.go:120
Method
HandleHistory
HandleHistory processes requests to view inspection history.
chapter6/inspection-service/inspection.go:142
Method
HandleHistory
HandleHistory processes requests to view inspection history.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:142
Method
HandleHistoryView
HandleHistoryView processes requests to view medication history data.
chapter6/treatment-service/treatment.go:228
Method
HandleHistoryView
HandleHistoryView processes requests to view medication history data.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:228
Method
HandleHomeLink
HandleHomeLink respond with the version of the service
chapter6/inspection-service/inspection.go:177
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/registration-service/registration.go:180
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/release-service/release.go:145
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter6/treatment-service/treatment.go:260
Method
HandleHomeLink
HandleHomeLink respond with the version of the service
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:177
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/registration-service/registration.go:180
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/release-service/release.go:145
Method
HandleHomeLink
(w http.ResponseWriter, r *http.Request)
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:260
Method
HandleMedicationRecord
HandleMedicationRecord processes patient medication record requests.
chapter6/treatment-service/treatment.go:157
Method
HandleMedicationRecord
HandleMedicationRecord processes patient medication record requests.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:157
Method
HandlePending
HandlePending processes requests to view pending inspections.
chapter6/inspection-service/inspection.go:57
Method
HandlePending
HandlePending processes requests to view pending inspections.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:57
Method
HandlePendingView
HandlePendingView processes requests to view pending releases.
chapter6/release-service/release.go:58
Method
HandlePendingView
HandlePendingView processes requests to view pending treatments.
chapter6/treatment-service/treatment.go:57
Method
HandlePendingView
HandlePendingView processes requests to view pending releases.
chapter9/OPD-Microservice-Code/release-service/release.go:58
Method
HandlePendingView
HandlePendingView processes requests to view pending treatments.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:57
Method
HandleRecord
HandleRecord processes patient inspection record requests.
chapter6/inspection-service/inspection.go:88
Method
HandleRecord
HandleRecord processes patient inspection record requests.
chapter9/OPD-Microservice-Code/inspection-service/inspection.go:88
Method
HandleRegister
HandleRegister processes patient registration requests.
chapter6/registration-service/registration.go:74
Method
HandleRegister
HandleRegister processes patient registration requests.
chapter9/OPD-Microservice-Code/registration-service/registration.go:74
Method
HandleRelease
HandleRelease processes requests to initiate a patient release.
chapter6/treatment-service/treatment.go:89
Method
HandleRelease
HandleRelease processes requests to initiate a patient release.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:89
Method
HandleTestRecord
HandleTestRecord processes recording of tests related requests.
chapter6/treatment-service/treatment.go:128
Method
HandleTestRecord
HandleTestRecord processes recording of tests related requests.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:128
Method
HandleTestView
HandleTestView processes requests to view test data.
chapter6/treatment-service/treatment.go:192
Method
HandleTestView
HandleTestView processes requests to view test data.
chapter9/OPD-Microservice-Code/treatment-service/treatment.go:192
Method
HandleToken
HandleToken processes token generation requests for registered patients.
chapter6/registration-service/registration.go:49
Method
HandleToken
HandleToken processes token generation requests for registered patients.
chapter9/OPD-Microservice-Code/registration-service/registration.go:49
Method
HandleTokenReset
HandleTokenReset processes token reset requests.
chapter6/registration-service/registration.go:42
Method
HandleTokenReset
HandleTokenReset processes token reset requests.
chapter9/OPD-Microservice-Code/registration-service/registration.go:42
Method
HandleUpdate
HandleUpdate processes requests to update patient details.
chapter6/registration-service/registration.go:123
Method
HandleUpdate
HandleUpdate processes requests to update patient details.
chapter9/OPD-Microservice-Code/registration-service/registration.go:123
Method
HandleView
HandleView processes requests to view patient data.
chapter6/registration-service/registration.go:150
Method
HandleView
HandleView processes requests to view patient data.
chapter9/OPD-Microservice-Code/registration-service/registration.go:150
Method
ID
ID returns the ID from the component.
chapter6/shared/component.go:103
Method
ID
ID returns the ID from the component.
chapter9/OPD-Microservice-Code/shared/component.go:103
Function
NewComponent
NewComponent creates a
chapter6/shared/component.go:33
Function
NewComponent
NewComponent creates a
chapter9/OPD-Microservice-Code/shared/component.go:33
Method
Shutdown
Shutdown makes the component go away.
chapter6/shared/component.go:117
Method
Shutdown
Shutdown makes the component go away.
chapter9/OPD-Microservice-Code/shared/component.go:117
Method
WriteHeader
(code int)
chapter8/observability-sample/publisher/main.go:189
Method
WriteHeader
(code int)
chapter8/observability-sample/subscriber/main.go:164
Function
main
()
chapter7/certs/publisher/main.go:8
Function
main
()
chapter7/certs/subscriber/main.go:10
Function
main
()
chapter7/certs/publisher-auth/main.go:8
Function
main
()
chapter7/certs/subscriber-auth/main.go:10
Function
main
()
chapter8/publisher/main.go:9
Function
main
()
chapter8/subs-3/main.go:10
Function
main
()
chapter8/subs-2/main.go:10
Function
main
()
chapter8/observability-sample/publisher/main.go:69
Function
main
()
chapter8/observability-sample/subscriber/main.go:52
Function
main
()
chapter8/subs-1/main.go:10
Function
main
()
chapter6/inspection-service/cmd/main.go:15
Function
main
()
chapter6/registration-service/cmd/main.go:15
Function
main
()
chapter6/release-service/cmd/main.go:15
next →
1–100 of 111, ranked by callers