Documentation ¶
Index ¶
- func DeleteEvent(db *sqlx.DB, eventID *uuid.UUID) error
- func JSONType(b []byte) string
- func RunAgConsequencesByXY(x string, y, string, event hazards.ArrivalandDurationEvent) (consequences.ConsequenceDamageResult, error)
- func RunConsequencesByBoundingBox(cbb compute.BboxCompute) (consequences.ConsequenceDamageResult, error)
- func RunConsequencesByFips(fips compute.FipsCodeCompute, depth float64) (consequences.ConsequenceDamageResult, error)
- type Audit
- type Compute
- type Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteEvent ¶
DeleteEvent deletes an event
func JSONType ¶
JSONType is a helper to infer the JSON type from []byte; object or array https://stackoverflow.com/questions/55014001/check-if-json-is-object-or-array
func RunAgConsequencesByXY ¶
func RunAgConsequencesByXY(x string, y, string, event hazards.ArrivalandDurationEvent) (consequences.ConsequenceDamageResult, error)
func RunConsequencesByBoundingBox ¶
func RunConsequencesByBoundingBox(cbb compute.BboxCompute) (consequences.ConsequenceDamageResult, error)
RunConsequencesByBoundingBox Runs the Consequences by bounding box
func RunConsequencesByFips ¶
func RunConsequencesByFips(fips compute.FipsCodeCompute, depth float64) (consequences.ConsequenceDamageResult, error)
Types ¶
type Audit ¶
type Audit struct { Creator int `json:"creator"` CreateDate time.Time `json:"create_date" db:"create_date"` }
Audit captures information on create and modify
type Compute ¶
Click to show internal directories.
Click to hide internal directories.