This commit is contained in:
crusader 2017-12-01 21:25:57 +09:00
parent 345c63d94f
commit 4f8577a547

View File

@ -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 {