ing
This commit is contained in:
parent
4e0f744ccc
commit
078d10a10e
|
@ -1,5 +1,9 @@
|
|||
package noauthprobe
|
||||
|
||||
const (
|
||||
HTTPEntry_NoAuthProbe = "/auth"
|
||||
)
|
||||
|
||||
const (
|
||||
HTTPRequestHeaderKey_NoAuthProbe_Method = "overFlow-NoAuthProbe-Method"
|
||||
HTTPRequestHeaderKey_NoAuthProbe_TempProbeKey = "overFlow-NoAuthProbe-TempProbeKey"
|
||||
|
|
|
@ -6,6 +6,6 @@ import (
|
|||
)
|
||||
|
||||
type NoAuthProbeService interface {
|
||||
Accept(probe probeM.Probe)
|
||||
Deny(noAuthProbe noauthprobeM.NoAuthProbe)
|
||||
Accept(probe *probeM.Probe)
|
||||
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