diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 00:15:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 00:15:20 -0600 |
| commit | fdc01e28d9f45e923bdbc783f957e5b87f108659 (patch) | |
| tree | e5ff92b4cbeb21d7c57eec0cf4cc8aa71d622ee3 /problems.go | |
| parent | 495a08eddaef290dd4a6f63a543cf31ef26522f5 (diff) | |
name changes in the gui package
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'problems.go')
| -rw-r--r-- | problems.go | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/problems.go b/problems.go index 12b2c44..f0c5ebb 100644 --- a/problems.go +++ b/problems.go @@ -1,7 +1,7 @@ // this defines the kinds of problems that can be detected package main -import ( +import ( "time" ) @@ -9,27 +9,27 @@ type ProblemType int type ActionType int type Problem struct { - kind ProblemType + kind ProblemType action ActionType - id int - Name string - desc string - value string - aaaa string - fixed bool + id int + Name string + desc string + value string + aaaa string + fixed bool duration time.Duration // how long until you should check to see if it's fixed - born time.Time // when first reported + born time.Time // when first reported - begun bool // weather or not fixing it has begun - begunTime time.Time // when the attempt to fix the problem happened - begunResult bool // weather or not the attempt worked + begun bool // weather or not fixing it has begun + begunTime time.Time // when the attempt to fix the problem happened + begunResult bool // weather or not the attempt worked } -var IPcreate = Problem { - kind: RR, +var IPcreate = Problem{ + kind: RR, action: CREATE, - desc: "This RR entry in the zonefile needs to be removed", + desc: "This RR entry in the zonefile needs to be removed", } /* |
