Documentation ¶
Index ¶
- Variables
- func Execute()
- func HandleHealthCheck(w http.ResponseWriter, r *http.Request)
- func StartGRPCServer(persistenceBackendType string, port string) error
- func StartHealthCheck(endpointType string)
- func StartServer(port string)
- func StartWebserver(port string, persistenceBackendType string)
- type HealthStatus
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var PersistenceBackendType string
View Source
var ServerPort string
Functions ¶
func HandleHealthCheck ¶
func HandleHealthCheck(w http.ResponseWriter, r *http.Request)
HandleHealthCheck is the handler function for serving the health checks
func StartGRPCServer ¶
StartGRPCServer runs gRPC server and HTTP gateway
func StartHealthCheck ¶
func StartHealthCheck(endpointType string)
func StartServer ¶
func StartServer(port string)
StartServer Starts the web server on the given port with the given data
func StartWebserver ¶
Types ¶
type HealthStatus ¶
Click to show internal directories.
Click to hide internal directories.