Home
last modified time | relevance | path

Searched defs:JSONResponse (Results 1 – 25 of 203) sorted by relevance

123456789

/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/matrix-org/util/
H A Djson.go15 type JSONResponse struct { struct
17 Code int
19 JSON interface{}
21 Headers map[string]string
25 func (r JSONResponse) Is2xx() bool {
83 func NewJSONRequestHandler(f func(req *http.Request) JSONResponse) JSONRequestHandler {
151 func respond(w http.ResponseWriter, req *http.Request, res JSONResponse) {
/dports/net-im/dendrite/dendrite-0.5.1/internal/httputil/
H A Dhttpapi.go53 f func(*http.Request, *userapi.Device) util.JSONResponse,
93 func MakeExternalAPI(metricsName string, f func(*http.Request) util.JSONResponse) http.Handler {
155 func MakeHTMLAPI(metricsName string, f func(http.ResponseWriter, *http.Request) *util.JSONResponse)…
184 func MakeInternalAPI(metricsName string, f func(*http.Request) util.JSONResponse) http.Handler {
212 f func(*http.Request, *gomatrixserverlib.FederationRequest, map[string]string) util.JSONResponse,
/dports/security/meek/meek-0.35.0/meek-client/
H A Dhelper.go29 type JSONResponse struct { struct
30 Error string `json:"error,omitempty"`
31 Status int `json:"status"`
32 Body []byte `json:"body"`
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/vault/vault-0.6.0/audit/
H A Dformat_json.go160 type JSONResponse struct { struct
161 Auth *JSONAuth `json:"auth,omitempty"`
162 Secret *JSONSecret `json:"secret,emitempty"`
163 Data map[string]interface{} `json:"data"`
164 Redirect string `json:"redirect"`
165 WrapInfo *JSONWrapInfo `json:"wrap_info,omitempty"`
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/test/bench/go1/
H A Djson_test.go43 type JSONResponse struct { struct
44 Tree *JSONNode `json:"tree"`
45 Username string `json:"username"`
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`
/dports/math/py-plastex/plasTeX-2.1/plasTeX/Base/TeX/
H A DPrimitives.py44 return True
47 class BoxCommand(Command):
48 """ Base class for box-type commands """
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/go.test/test/bench/go1/
H A Djson_test.go44 type JSONResponse struct { struct
45 Tree *JSONNode `json:"tree"`
46 Username string `json:"username"`

123456789