commons-go/config/probe/protocol.go
crusader 3ae9f53619 ing
2018-05-10 19:14:33 +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"
)