Home
last modified time | relevance | path

Searched refs:decodeIfBinary (Results 1 – 8 of 8) sorted by relevance

/dports/www/pomerium/pomerium-0.8.3/internal/log/
H A Dmiddleware_test.go36 func decodeIfBinary(out fmt.Stringer) string { func
65 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
81 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
98 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
114 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
130 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
148 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
166 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
185 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
269 …if want, got := `{"X-Forwarded-For":["proxy1,proxy2,proxy3"]}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4:1234"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"[2001:db8:a0b:12f0::1]:1234"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/www/ytdl/ytdl-0.6.4/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/devel/bit/bit-1.1.2/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
198 …if want, got := `{"reqID":"514bbe5bb5251c92bd07a9846f4a1ab6"}`+"\n", decodeIfBinary(out); want != …
[all …]
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/rs/zerolog/hlog/
H A Dhlog_test.go21 func decodeIfBinary(out *bytes.Buffer) string { func
54 if want, got := `{"url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
70 if want, got := `{"method":"POST"}`+"\n", decodeIfBinary(out); want != got {
87 if want, got := `{"request":"POST /path?foo=bar"}`+"\n", decodeIfBinary(out); want != got {
103 if want, got := `{"ip":"1.2.3.4"}`+"\n", decodeIfBinary(out); want != got {
119 if want, got := `{"ip":"2001:db8:a0b:12f0::1"}`+"\n", decodeIfBinary(out); want != got {
137 if want, got := `{"ua":"some user agent string"}`+"\n", decodeIfBinary(out); want != got {
155 if want, got := `{"referer":"http://foo.com/bar"}`+"\n", decodeIfBinary(out); want != got {
177 if want, got := fmt.Sprintf(`{"id":"%s"}`+"\n", id), decodeIfBinary(out); want != got {
197 …:"POST","request":"POST /path?foo=bar","url":"/path?foo=bar"}`+"\n", decodeIfBinary(out); want != …