-
- Downloads
Redo protocol for proxy--broker messages
Switch to containing all communication between the proxy and the broker in the HTTP response body. This will make things easier if we ever use something other than HTTP communicate between different actors in the snowflake system. Other changes to the protocol are as follows: - requests are accompanied by a version number so the broker can be backwards compatable if desired in the future - all responses are 200 OK unless the request was badly formatted
Showing
- broker/broker.go 48 additions, 16 deletionsbroker/broker.go
- broker/snowflake-broker_test.go 28 additions, 30 deletionsbroker/snowflake-broker_test.go
- common/messages/proxy.go 214 additions, 0 deletionscommon/messages/proxy.go
- common/messages/proxy_test.go 161 additions, 0 deletionscommon/messages/proxy_test.go
- proxy-go/snowflake.go 36 additions, 5 deletionsproxy-go/snowflake.go
- proxy/translation 1 addition, 1 deletionproxy/translation
common/messages/proxy.go
0 → 100644
common/messages/proxy_test.go
0 → 100644
translation @ bbf11bb0
Please register or sign in to comment