Documentation ¶
Index ¶
Constants ¶
View Source
const HeartbeatInterval = 30 * time.Second
HeartbeatInterval is used to detect if a location is still alive.
View Source
const LocationExpiration = 2 * HeartbeatInterval
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) DeleteLocation ¶ added in v0.2.6
func (*Memory) LoadLocation ¶
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) DeleteLocation ¶ added in v0.2.6
Click to show internal directories.
Click to hide internal directories.