Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupExpiredPortals ¶
func CleanupExpiredPortals() error
CleanupExpiredPortals does what you think
func IsValidPortal ¶
IsValidPortal checks that the portal is OK
Types ¶
type Portal ¶
type Portal struct { Source string `json:"source"` Target string `json:"target"` Size int `json:"size"` Expires time.Time `json:"expires"` TimeLeft float64 `json:"timeLeft"` // contains filtered or unexported fields }
Portal describes a roads portal between two zones
Click to show internal directories.
Click to hide internal directories.