Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonUtilRequest ¶
func CommonUtilRequest(info *RequestInfo) (int, []byte, error)
CommonUtilRequest common get http/https request
func GetLocalIP ¶
GetLocalIP returns the non loop back local IP of the host
func HealthAndReadinessProvider ¶
HealthAndReadinessProvider get and create the health and readiness provider
Types ¶
type FakeResponseWriter ¶
type FakeResponseWriter struct{}
FakeResponseWriter for the unit test
func (FakeResponseWriter) Header ¶
func (f FakeResponseWriter) Header() http.Header
Header fake header method
func (FakeResponseWriter) Write ¶
func (f FakeResponseWriter) Write(_ []byte) (int, error)
Write fake method
func (FakeResponseWriter) WriteHeader ¶
func (f FakeResponseWriter) WriteHeader(_ int)
WriteHeader fake method
Click to show internal directories.
Click to hide internal directories.