commons-go/config/probe/protocol.go

22 lines
565 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package probe
2018-04-12 09:38:04 +00:00
const (
HTTPEntry_Probe = "/probe"
HTTPEntry_Data = "/data"
)
const (
HTTPRequestHeaderKey_Probe_Method = "overFlow-Probe-Method"
HTTPRequestHeaderKey_Probe_ProbeKey = "overFlow-Probe-ProbeKey"
2018-05-10 09:55:14 +00:00
HTTPResponseHeaderKey_Probe_Method = "overFlow-Probe-Method"
HTTPResponseHeaderKey_Probe_Method_Param = "overFlow-Probe-Method-Param"
2018-04-12 09:38:04 +00:00
)
const (
HTTPRequestHeaderValue_Probe_Method_Connect = "CONNECT"
2018-05-10 09:55:14 +00:00
HTTPResponseHeaderValue_Probe_Method_EncryptionKey = "ENCRYPTION_KEY"
2018-05-10 10:14:33 +00:00
HTTPResponseHeaderValue_Probe_Method_Delete = "DELETE"
2018-04-12 09:38:04 +00:00
)