commons-go/config/probe/protocol.go
crusader dbb15f14a2 ing
2018-05-10 18:55:14 +09:00

22 lines
565 B
Go

package probe
const (
HTTPEntry_Probe = "/probe"
HTTPEntry_Data = "/data"
)
const (
HTTPRequestHeaderKey_Probe_Method = "overFlow-Probe-Method"
HTTPRequestHeaderKey_Probe_ProbeKey = "overFlow-Probe-ProbeKey"
HTTPResponseHeaderKey_Probe_Method = "overFlow-Probe-Method"
HTTPResponseHeaderKey_Probe_Method_Param = "overFlow-Probe-Method-Param"
)
const (
HTTPRequestHeaderValue_Probe_Method_Connect = "CONNECT"
HTTPResponseHeaderValue_Probe_Method_EncryptionKey = "ENCRYPTION_KEY"
HTTPResponseHeaderValue_Probe_Method_DELETE = "DELETE"
)