mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 15:00:51 +02:00
proxy: add idle timeout (#2319)
This commit is contained in:
parent
2ceaae8e54
commit
134ca74ec9
17 changed files with 658 additions and 531 deletions
|
@ -16,6 +16,7 @@ import (
|
|||
// AssertProtoJSONEqual asserts that a protobuf message matches the given JSON. The protoMsg can also be a slice
|
||||
// of protobuf messages.
|
||||
func AssertProtoJSONEqual(t *testing.T, expected string, protoMsg interface{}, msgAndArgs ...interface{}) bool {
|
||||
t.Helper()
|
||||
protoMsgVal := reflect.ValueOf(protoMsg)
|
||||
if protoMsgVal.Kind() == reflect.Slice {
|
||||
var protoMsgs []json.RawMessage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue