Skip to content

Commit

Permalink
improve some sharp edges of request timeout validation (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhump committed Jun 23, 2020
1 parent a29b47a commit 2a81cb1
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 15 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/fullstorydev/grpcui

go 1.13

require (
github.com/fullstorydev/grpcurl v1.6.0
github.com/go-bindata/go-bindata v0.0.0-20191126083508-8639be0519b3 // indirect
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo
github.com/fullstorydev/grpcurl v1.6.0 h1:p8BB6VZF8O7w6MxGr3KJ9E6EVKaswCevSALK6FBtMzA=
github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/go-bindata/go-bindata v0.0.0-20191126083508-8639be0519b3 h1:vyi9feuP3xiGU/GKzmXOdHn0cLNp7RDf3bfCxk+tvno=
github.com/go-bindata/go-bindata v0.0.0-20191126083508-8639be0519b3/go.mod h1:7xCgX1lzlrXPHkfvn3EhumqHkmSlzt8at9q7v0ax19c=
github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
Expand Down
2 changes: 1 addition & 1 deletion internal/resources/standalone/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}

var _indexTemplateHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x6d\x6f\xdb\x36\x10\xfe\xde\x5f\x71\x53\x33\xc0\x36\xf4\x62\xd9\x69\xb1\x29\xb2\x8b\x22\x68\xd3\x7e\xd8\x56\xa4\xe9\x0a\x6c\x59\x0b\x8a\x3a\x49\x6c\x28\x52\x25\x29\xc7\xa9\x9b\xff\x3e\x50\x2f\xb6\x15\x3b\xd8\x9a\x0f\x31\xef\xf5\x39\x3e\x47\x9e\x18\x17\xa6\xe4\xcb\x27\x00\x71\x81\x24\xb5\x0b\x80\xd8\x30\xc3\x71\x99\x5f\xbe\x3b\x87\x0f\x6f\xe3\xa0\x15\x9f\xb4\x36\xce\xc4\x0d\x28\xe4\x0b\x87\x51\x29\x1c\x30\x77\x15\x2e\x1c\x56\x92\x1c\x83\x4a\xe4\x0e\x14\x0a\xb3\x85\x93\x91\x95\xb5\xfb\x56\xd5\x87\x6a\xaa\x58\x65\x40\x2b\xba\x70\xbe\x7c\xad\x51\xdd\x79\x73\xff\xd4\x0f\xfd\x92\x09\xff\x8b\x76\x96\x71\xd0\xba\x1c\x62\x69\x73\xc7\x51\x17\x88\xa6\x07\xe8\x12\xd4\xcc\x0b\xfd\x70\xd6\x25\xa1\x5a\x3b\xcb\x47\xc1\x86\xbe\x3f\x0a\x98\xab\x8a\x7a\xb7\x98\x78\x99\x54\xe5\x63\x48\x43\xa7\x63\x10\x4d\xe2\x36\x72\x02\x9b\xe6\x17\x20\x91\x6b\x4f\xb3\x6f\x4c\xe4\x11\x24\x52\xa5\xa8\xbc\x44\xae\xcf\x1a\xeb\x7d\x1b\x18\x91\xcc\xa0\x72\x21\x4a\x30\x93\x0a\x7f\x24\x34\x91\xe9\xdd\xd6\xbf\x24\x2a\x67\x22\x82\xe9\x59\xa7\xa8\x48\x9a\x36\xd1\x5b\x4d\x26\x85\xf1\x32\x52\x32\x7e\x17\xc1\xa5\x4c\xa4\x91\x2e\x38\x6f\x90\xaf\xd0\x30\x4a\xe0\x77\xac\xd1\x71\x61\xab\x70\xe1\xa5\x62\x84\xbb\xa0\x89\xd0\x9e\x46\xc5\xb2\x41\x2a\xcd\xbe\x61\x04\xe1\x69\xb5\xee\xd5\x9c\x09\xf4\x0a\x64\x79\x61\x22\x98\x4d\x77\x06\x2a\xb9\x54\x11\x3c\x9d\xcf\xe7\xbd\x2a\x65\xba\xe2\xe4\x2e\x02\x26\x9a\xb0\x84\x4b\x7a\xd3\x1b\x4b\x26\xbc\x5b\x96\x9a\x22\x82\x70\x3a\xfd\x79\xb8\xed\xda\x18\x29\x5c\x60\xa2\xaa\x8d\x0b\x1a\x39\x52\xe3\x82\xc1\xb5\x21\x0a\xc9\x96\x91\x41\x31\x4c\x14\xa8\x98\xd9\xaf\xff\x40\xd9\x15\x39\xd0\x76\x98\xac\xcc\xf7\x3a\x63\xbb\xb1\xc7\xeb\x0a\x95\xa5\x8b\x7b\x84\xb3\x5c\x44\x50\xb2\x34\xe5\x38\x88\x2f\x42\x17\x8a\x99\x0b\xc5\xdc\x85\xe2\xd4\x85\xe2\xd9\xf1\x32\x43\x3f\x1c\xc4\x19\x92\x70\x7c\x80\xec\xe9\x8a\xd0\x61\x67\x3b\x03\x95\x9c\x93\x4a\x63\x04\xfd\x6a\x90\xcc\xcf\x6a\xce\x5b\x5a\x3d\x3b\x15\x98\xd8\x6d\xea\x80\x6c\x80\x84\xd0\x9b\x5c\xc9\x5a\xa4\x5e\xdf\xbe\x53\x4a\xa6\x84\x0e\x93\x3e\xcc\x54\x92\x75\xdf\xba\xd9\xb3\xe7\x7b\x67\xe0\xf1\x13\x3a\x9f\x55\x6b\x98\x9d\x1e\x1c\x97\xdb\x82\x19\x3c\x2c\x67\x5b\x08\xd4\x8a\x8f\xda\xbb\x99\xe4\xbe\x5e\xe5\xce\x18\x84\xf4\x14\x56\x48\x0c\x50\x14\x06\x55\x40\xe5\x0a\xd5\xf1\x92\x8b\x70\x5b\x75\x73\xa0\x6f\xbb\x2e\x08\xa9\x4a\xc2\x8f\x9c\xf5\xf9\xb3\x23\xdb\x81\x29\x84\x76\x03\x8f\xde\xbc\x03\xd8\xd9\x0f\xc2\x1e\xa1\xe6\x29\x9d\x66\xd3\x2c\xfb\x6f\x6e\x1f\xd4\x60\x88\xca\xd1\x0c\xf1\x9b\xd1\x15\x01\x33\x84\x33\xfa\x10\xe7\xd7\x1d\x48\x97\xd3\xe3\x98\x99\x08\xb6\x35\xed\xae\x88\xdf\xb4\x82\xcb\x5c\x1e\x39\x57\x0f\x99\xf3\x12\x69\x8c\x2c\x23\x78\x7e\x60\x51\x2d\x1f\xbf\x1c\x18\x8c\xac\x22\x98\x3f\x00\x7e\xda\xa0\xda\xc1\xfc\x3f\x86\xe1\x6c\xaf\x6c\xfb\x3f\x0e\xf6\x06\x77\xdc\x8f\x74\x2b\x04\x01\xfc\xf5\xc7\x6f\x17\x60\x0a\xa6\x81\x69\x20\xb7\x59\xcd\x7d\xb8\xb2\x62\x82\x44\x1b\xa0\xb2\x44\x0d\x99\x92\x25\x14\xc6\x54\x3a\x0a\x82\x14\x57\xc8\x65\x85\xca\x2f\xe5\x37\xc6\x39\xf1\xa5\xca\x03\x14\xde\x87\xf7\x41\x2a\xa9\x0e\x3e\x62\x12\xbc\x7c\xf7\xd6\x0a\x75\x89\xc2\x04\x54\xca\x1b\x86\x0d\xe2\x8a\x28\x68\xc5\x3f\x09\xaf\x11\x16\xd0\x7b\xf9\xad\xda\x57\x58\x71\x42\x71\x14\x8c\x5e\x44\xa3\x17\xd1\xa7\xef\xfe\xe4\xec\x5a\x4f\xc6\x9f\x2d\x05\x35\xfb\x4c\xb5\xca\x3e\x1b\x79\x83\xe2\x5a\x4f\xae\x17\xd7\x7a\x32\xfa\xfb\xd3\xd9\x3f\x93\xb1\x3f\x39\x19\x7f\xff\xe4\x4f\x4e\x02\x17\x9c\x93\xd0\x19\x9f\xf5\x7b\x24\x69\x0a\xe7\xef\x2f\x5f\x43\x13\x06\x46\x02\xe1\x1c\x84\x14\xde\xc5\xab\x2b\x50\xf8\xb5\x46\x6d\x74\xe3\x7d\x32\xea\xeb\x19\xfb\xe4\x0b\x59\xbf\x47\x91\x8e\xb2\x5a\x50\xc3\xa4\x18\xe1\x0a\x85\x71\xfb\x08\x3b\x97\x8d\x61\x22\xd7\xe3\x6d\x57\x00\x58\x06\xa3\x5e\xef\x97\x68\x0a\x99\xc2\x4f\x8b\x05\x38\x17\xaf\xae\x9c\x7d\x47\xfb\xd7\x65\xf2\x35\x9a\xcb\x76\xf9\x06\x49\x8a\x6a\xe4\xac\xbd\x76\xbf\x9e\xdd\xaf\xd7\x14\xee\xb8\xfb\xd4\x8d\xcf\xb6\x99\xda\x36\xdf\x77\x9a\xdd\x57\xdb\x4a\x9b\x0d\x28\x22\x72\x04\xff\x65\x9a\xf2\x4b\xd4\xb2\x56\x14\x35\xdc\xdf\x77\xe1\x9b\x0d\xf8\xbd\xb4\xd9\x00\x8a\xb4\x95\xe2\xa0\x7f\x55\xc5\xf6\x23\xdc\x9d\x9e\x94\xad\x80\x72\xa2\xf5\xc2\x39\x9c\xb4\xdd\xab\x62\xe8\xf6\xd0\x66\x9f\x6b\xe1\x32\xb6\x5f\x9b\xce\x63\x7b\xa3\x9c\xbd\x87\x88\x95\x9b\x17\x18\x10\x6e\x16\xce\xc5\xe5\xbb\x73\x27\x58\xc2\x47\x4c\x9a\x77\x5d\x11\xee\xf2\x6d\x36\x96\x74\x21\x0d\x8c\xf0\x2b\xf8\x57\xed\xf5\x77\x9c\xf1\x6e\x93\x2d\xec\x6c\x79\x2e\x85\x40\x6a\x30\xb5\x87\x20\xd6\x15\x11\x7d\x11\xed\xd0\x70\x96\x96\x8e\x2e\xc3\xfd\x7d\x1c\x58\x97\x65\x1c\x14\xb3\x01\xdc\x96\xa4\x96\xef\x94\xad\x3a\x7a\x76\xcb\xcd\xc6\xff\x88\xc9\x6b\xa9\xca\x73\x29\x0c\x0a\xa3\x3b\x56\x5b\x32\xe3\xa0\x7d\xbc\xfe\x1b\x00\x00\xff\xff\x54\x88\xcd\x7b\xc4\x0a\x00\x00")
var _indexTemplateHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x5d\x6f\xdb\x36\x17\xbe\xef\xaf\x38\xaf\x9a\x17\xb0\x0d\x7d\x58\x76\x1a\x74\x8a\xec\xa2\x08\xda\xb4\x17\xdb\x8a\x34\x5d\x81\x2d\x6b\x41\x49\x47\x12\x1b\x8a\x54\x49\xca\xb1\xeb\xfa\xbf\x0f\xd4\x87\x6d\xd9\x0e\xb6\xe4\x22\xe6\xf9\x7c\x0e\x9f\x43\x1e\x31\xcc\x75\xc1\xe6\xcf\x00\xc2\x1c\x49\x62\x16\x00\xa1\xa6\x9a\xe1\x3c\xbb\xf9\x70\x05\x9f\xde\x87\x5e\x23\x3e\x6b\x6c\x8c\xf2\x7b\x90\xc8\x66\x16\x8d\x05\xb7\x40\xaf\x4a\x9c\x59\xb4\x20\x19\x7a\x25\xcf\x2c\xc8\x25\xa6\x33\x2b\x25\x0b\x63\x77\x8d\xaa\x0b\x55\xb1\xa4\xa5\x06\x25\xe3\x99\xf5\xed\x7b\x85\x72\xe5\x4c\xdd\x73\xd7\x77\x0b\xca\xdd\x6f\xca\x9a\x87\x5e\xe3\x72\x8c\xa5\xf4\x8a\xa1\xca\x11\x75\x07\xd0\x26\xa8\xa8\xe3\xbb\xfe\xa4\x4d\x12\x2b\x65\xcd\x1f\x05\xeb\xfb\x3e\x15\x30\x93\x65\xec\x3c\x60\xe4\xa4\x42\x16\x8f\x21\xf5\x9d\x4e\x41\xd4\x89\x9b\xc8\x11\xac\xeb\x5f\x80\x48\x2c\x1d\x45\x7f\x50\x9e\x05\x10\x09\x99\xa0\x74\x22\xb1\xbc\xac\xad\x9b\x26\x30\x20\xa9\x46\x69\x43\x10\x61\x2a\x24\x3e\x25\x34\x12\xc9\x6a\xeb\x5f\x10\x99\x51\x1e\xc0\xf8\xb2\x55\x94\x24\x49\xea\xe8\xad\x26\x15\x5c\x3b\x29\x29\x28\x5b\x05\x70\x23\x22\xa1\x85\x0d\xd6\x3b\x64\x0b\xd4\x34\x26\xf0\x1b\x56\x68\xd9\xb0\x55\xd8\xf0\x5a\x52\xc2\x6c\x50\x84\x2b\x47\xa1\xa4\x69\x2f\x95\xa2\x3f\x30\x00\xff\xbc\x5c\x76\x6a\x46\x39\x3a\x39\xd2\x2c\xd7\x01\x4c\xc6\x3b\x43\x2c\x98\x90\x01\x3c\x9f\x4e\xa7\x9d\x2a\xa1\xaa\x64\x64\x15\x00\xe5\x75\x58\xc4\x44\x7c\xdf\x19\x0b\xca\x9d\x07\x9a\xe8\x3c\x00\x7f\x3c\xfe\x7f\x7f\xdb\x95\xd6\x82\xdb\x40\x79\x59\x69\x1b\x14\x32\x8c\xb5\x0d\x1a\x97\x9a\x48\x24\x5b\x46\x7a\xc5\x50\x9e\xa3\xa4\x7a\xbf\xfe\x23\x65\x5b\x64\x4f\xdb\x62\xd2\x22\xdb\xeb\x8c\xe9\xc6\x1e\xaf\x0b\x94\x86\x2e\xe6\x10\x46\x33\x1e\x40\x41\x93\x84\x61\x2f\x3e\xf7\x6d\xc8\x27\x36\xe4\x53\x1b\xf2\x73\x1b\xf2\x17\xa7\xcb\xf4\x5d\xbf\x17\xa7\x49\xc4\xf0\x00\xd9\x51\x25\x89\xfb\x9d\x6d\x0d\xb1\x60\x8c\x94\x0a\x03\xe8\x56\xbd\x64\x6e\x5a\x31\xd6\xd0\xea\x98\xa9\x40\xf9\x6e\x53\x47\x64\x03\x44\x24\xbe\xcf\xa4\xa8\x78\xe2\x74\xed\xf3\x5f\x5e\x8c\x2f\xce\xfb\x49\x0f\x33\x15\x64\xd9\xb5\x6e\xf2\xe2\x62\xef\x0c\x3c\x7e\x42\xa7\x93\x72\x09\x93\xf3\xa3\xe3\xf2\x90\x53\x8d\xc7\xe5\x6c\x0b\x81\x4a\xb2\x41\x73\x37\xa3\xcc\x55\x8b\xcc\x1a\x02\x17\x8e\xc4\x12\x89\x86\x18\xb9\x46\xe9\xc5\x62\x81\xf2\x74\xc9\xb9\xbf\xad\xba\x3e\xd0\x0f\x6d\x17\xb8\x90\x05\x61\x27\xce\xfa\xf4\xc5\x89\xed\xc0\x18\x7c\xb3\x81\x47\x6f\xde\x11\xec\xe4\x89\xb0\x27\xa8\x79\x1e\x8f\xd3\x71\x9a\xfe\x3b\xb7\x07\x35\x68\x22\x33\xd4\x7d\xfc\x7a\x74\x05\x40\x35\x61\x34\x3e\xc4\xf9\x65\x07\xd2\xe6\x74\x18\xa6\x3a\x80\x6d\x4d\xbb\x2b\xe2\xd6\xad\x60\x22\x13\x27\xce\xd5\x21\x73\x4e\x24\xb4\x16\x45\x00\x17\x47\x16\xd9\xf0\xf1\xf2\xc8\xa0\x45\x19\xc0\xf4\x00\xf8\x79\x8d\x6a\x06\xf3\x7f\x18\x86\x93\xbd\xb2\xcd\xff\xd0\xdb\x1b\xdc\x61\x37\xd2\x8d\xe0\x79\xf0\xe7\xef\xbf\x5e\x83\xce\xa9\x02\xaa\x80\x3c\xa4\x15\x73\xe1\xd6\x88\x11\x12\xa5\x21\x16\x05\x2a\x48\xa5\x28\x20\xd7\xba\x54\x81\xe7\x25\xb8\x40\x26\x4a\x94\x6e\x21\x7e\x50\xc6\x88\x2b\x64\xe6\x21\x77\x3e\x7d\xf4\x12\x11\x2b\xef\x33\x46\xde\xeb\x0f\xef\x8d\x50\x15\xc8\xb5\x17\x0b\x71\x4f\xb1\x46\x5c\x10\x09\x8d\xf8\x07\x61\x15\xc2\x0c\x3a\x2f\xb7\x51\xbb\x12\x4b\x46\x62\x1c\x78\x83\x57\xc1\xe0\x55\xf0\xe5\xa7\x3b\xba\xbc\x53\xa3\xe1\x57\x43\x41\x45\xbf\xc6\x4a\xa6\x5f\xb5\xb8\x47\x7e\xa7\x46\x77\xb3\x3b\x35\x1a\xfc\xf5\xe5\xf2\xef\xd1\xd0\x1d\x9d\x0d\x7f\x7e\x71\x47\x67\x9e\x0d\xd6\x99\x6f\x0d\x2f\xbb\x3d\x92\x24\x81\xab\x8f\x37\x6f\xa1\x0e\x03\x2d\x80\x30\x06\x5c\x70\xe7\xfa\xcd\x2d\x48\xfc\x5e\xa1\xd2\xaa\xf6\x3e\x1b\x74\xf5\x0c\x5d\xf2\x8d\x2c\x3f\x22\x4f\x06\x69\xc5\x63\x4d\x05\x1f\xe0\x02\xb9\xb6\xbb\x08\x33\x97\xb5\xa6\x3c\x53\xc3\x6d\x57\x00\x68\x0a\x83\x4e\xef\x16\xa8\x73\x91\xc0\xff\x66\x33\xb0\xae\xdf\xdc\x5a\xfb\x8e\xe6\xaf\xcd\xe4\x2a\xd4\x37\xcd\xf2\x1d\x92\x04\xe5\xc0\x5a\x3a\xcd\x7e\x1d\xb3\x5f\xa7\x2e\xdc\xb2\xf7\xa9\x1b\x5e\x6e\x33\x35\x6d\xde\xb4\x9a\xdd\x57\xdb\x48\xeb\x35\x48\xc2\x33\x04\xf7\x75\x92\xb0\x1b\x54\xa2\x92\x31\x2a\xd8\x6c\xda\xf0\xf5\x1a\xdc\x4e\x5a\xaf\x01\x79\xd2\x48\xa1\xd7\xbd\xaa\x42\xf3\x11\x6e\x4f\x4f\x42\x17\x10\x33\xa2\xd4\xcc\x3a\x9e\xb4\xed\xab\xa2\xef\x76\x68\x33\xcf\x35\x7f\x1e\x9a\xaf\x4d\xeb\xb1\xbd\x51\xd6\xde\x43\xc4\xc8\xf5\x0b\x0c\x08\xd3\x33\xeb\xfa\xe6\xc3\x95\xe5\xcd\xe1\x33\x46\xf5\xbb\x2e\xf7\x77\xf9\xd6\x6b\x43\x3a\x17\x1a\x06\xf8\x1d\xdc\xdb\xe6\xfa\x5b\xd6\x70\xb7\xc9\x06\x76\x32\xbf\x12\x9c\x63\xac\x31\x31\x87\x20\x54\x25\xe1\x5d\x11\xcd\xd0\xb0\xe6\x86\x8e\x36\xc3\x66\x13\x7a\xc6\x65\x1e\x7a\xf9\xa4\x07\xb7\x25\xa9\xe1\x3b\xa1\x8b\x96\x9e\xdd\x72\xbd\x76\x3f\x63\xf4\x56\xc8\xe2\x4a\x70\x8d\x5c\xab\x96\xd5\x86\xcc\xd0\x6b\x1e\xaf\xff\x04\x00\x00\xff\xff\x71\x68\x60\x70\xc4\x0a\x00\x00")

func indexTemplateHtmlBytes() ([]byte, error) {
return bindataRead(
Expand Down
4 changes: 2 additions & 2 deletions internal/resources/standalone/index-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@

.full-width-heading {
width: 100%;
background-color: #4ca0ac;
background-color: #186064;
}

.heading {
max-width: 2560px;
margin: 0;
padding: 32px 24px;
color: white;
background: #4ca0ac url("grpc-bg.svg") no-repeat center/cover;
background: #186064 url("grpc-bg.svg") no-repeat center/cover;
}

.heading h1 {
Expand Down
Loading

0 comments on commit 2a81cb1

Please sign in to comment.