Created
November 30, 2019 17:20
-
-
Save xxmatyuk/be1ee02731d89e52fae92d77532cb4b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exampleservice | |
import ( | |
"net/http" | |
) | |
type Service struct{} | |
func NewService() *Service { | |
return &Service{} | |
} | |
func (s *Service) WarmupRequestHandler(w http.ResponseWriter, r *http.Request) { | |
w.WriteHeader(http.StatusOK) | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment