ing
This commit is contained in:
parent
345c63d94f
commit
4f8577a547
|
@ -1,6 +1,6 @@
|
||||||
package noauthprobe
|
package noauthprobe
|
||||||
|
|
||||||
import "git.loafle.net/overflow/overflow_commons_go/util"
|
import "time"
|
||||||
|
|
||||||
type NoAuthProbeStateType int
|
type NoAuthProbeStateType int
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
type NoAuthProbeConfig struct {
|
type NoAuthProbeConfig struct {
|
||||||
TempKey *string `json:"tempKey,omitempty" yaml:"tempKey" toml:"tempKey"`
|
TempKey *string `json:"tempKey,omitempty" yaml:"tempKey" toml:"tempKey"`
|
||||||
DenyDate *util.Timestamp `json:"denyDate,omitempty" yaml:"denyDate" toml:"denyDate"`
|
DenyDate *time.Time `json:"denyDate,omitempty" yaml:"denyDate" toml:"denyDate"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *NoAuthProbeConfig) State() NoAuthProbeStateType {
|
func (c *NoAuthProbeConfig) State() NoAuthProbeStateType {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user