diff --git a/config/noauthprobe/NoAuthProbeConfig.go b/config/noauthprobe/NoAuthProbeConfig.go index d675ceb..29a2ae7 100644 --- a/config/noauthprobe/NoAuthProbeConfig.go +++ b/config/noauthprobe/NoAuthProbeConfig.go @@ -1,6 +1,6 @@ package noauthprobe -import "git.loafle.net/overflow/overflow_commons_go/util" +import "time" type NoAuthProbeStateType int @@ -10,8 +10,8 @@ const ( ) type NoAuthProbeConfig struct { - TempKey *string `json:"tempKey,omitempty" yaml:"tempKey" toml:"tempKey"` - DenyDate *util.Timestamp `json:"denyDate,omitempty" yaml:"denyDate" toml:"denyDate"` + TempKey *string `json:"tempKey,omitempty" yaml:"tempKey" toml:"tempKey"` + DenyDate *time.Time `json:"denyDate,omitempty" yaml:"denyDate" toml:"denyDate"` } func (c *NoAuthProbeConfig) State() NoAuthProbeStateType {