ing
This commit is contained in:
parent
4e0f744ccc
commit
078d10a10e
|
@ -1,5 +1,9 @@
|
||||||
package noauthprobe
|
package noauthprobe
|
||||||
|
|
||||||
|
const (
|
||||||
|
HTTPEntry_NoAuthProbe = "/auth"
|
||||||
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
HTTPRequestHeaderKey_NoAuthProbe_Method = "overFlow-NoAuthProbe-Method"
|
HTTPRequestHeaderKey_NoAuthProbe_Method = "overFlow-NoAuthProbe-Method"
|
||||||
HTTPRequestHeaderKey_NoAuthProbe_TempProbeKey = "overFlow-NoAuthProbe-TempProbeKey"
|
HTTPRequestHeaderKey_NoAuthProbe_TempProbeKey = "overFlow-NoAuthProbe-TempProbeKey"
|
||||||
|
|
|
@ -6,6 +6,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type NoAuthProbeService interface {
|
type NoAuthProbeService interface {
|
||||||
Accept(probe probeM.Probe)
|
Accept(probe *probeM.Probe)
|
||||||
Deny(noAuthProbe noauthprobeM.NoAuthProbe)
|
Deny(noAuthProbe *noauthprobeM.NoAuthProbe)
|
||||||
}
|
}
|
||||||
|
|
18
modules/probe/probe.go
Normal file
18
modules/probe/probe.go
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
package probe
|
||||||
|
|
||||||
|
const (
|
||||||
|
HTTPEntry_Probe = "/probe"
|
||||||
|
HTTPEntry_Data = "/data"
|
||||||
|
HTTPEntry_File = "/file"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
HTTPRequestHeaderKey_Probe_Method = "overFlow-Probe-Method"
|
||||||
|
HTTPRequestHeaderKey_Probe_ProbeKey = "overFlow-Probe-ProbeKey"
|
||||||
|
|
||||||
|
HTTPResponseHeaderKey_Probe_SetEncryptionKey = "overFlow-Probe-SetEncryptionKey"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
HTTPRequestHeaderValue_Probe_Method_Connect = "CONNECT"
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user