Documentation ¶
Overview ¶
deprecated package
Index ¶
- func BinaryResponse(w http.ResponseWriter, httpStatusCode int, data []byte)
- func EmptyResponse(w http.ResponseWriter, httpStatusCode int)
- func InternalDelete(f func(p periHttp.PeriHttp))
- func InternalGeneric(f func(p periHttp.PeriHttp), method string, data io.Reader) *http.Response
- func InternalGet(f func(p periHttp.PeriHttp)) []byte
- func InternalHead(f func(p periHttp.PeriHttp))
- func InternalPatch(f func(p periHttp.PeriHttp), data []byte) []byte
- func InternalPost(f func(p periHttp.PeriHttp), data []byte) []byte
- func InternalPut(f func(p periHttp.PeriHttp), data []byte) []byte
- func InternalVarsDelete(f func(p periHttp.PeriHttp), vars map[string]string)
- func InternalVarsGeneric(f func(p periHttp.PeriHttp), method string, data io.Reader, ...) *http.Response
- func InternalVarsGet(f func(p periHttp.PeriHttp), vars map[string]string) []byte
- func InternalVarsHead(f func(p periHttp.PeriHttp), vars map[string]string)
- func InternalVarsPatch(f func(p periHttp.PeriHttp), vars map[string]string, data []byte) []byte
- func InternalVarsPost(f func(p periHttp.PeriHttp), vars map[string]string, data []byte) []byte
- func InternalVarsPut(f func(p periHttp.PeriHttp), vars map[string]string, data []byte) []byte
- func JsonResponse(w http.ResponseWriter, httpStatusCode int, jsonObject any)
- func TextResponse[T []byte | string](w http.ResponseWriter, httpStatusCode int, textMessage T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryResponse ¶
func BinaryResponse(w http.ResponseWriter, httpStatusCode int, data []byte)
func EmptyResponse ¶
func EmptyResponse(w http.ResponseWriter, httpStatusCode int)
func InternalDelete ¶
func InternalGeneric ¶
func InternalGet ¶
func InternalHead ¶
func InternalVarsDelete ¶
func InternalVarsGeneric ¶
func InternalVarsGet ¶
func InternalVarsPatch ¶
func InternalVarsPost ¶
func InternalVarsPut ¶
func JsonResponse ¶
func JsonResponse(w http.ResponseWriter, httpStatusCode int, jsonObject any)
func TextResponse ¶
func TextResponse[T []byte | string](w http.ResponseWriter, httpStatusCode int, textMessage T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.