Documentation
¶
Overview ¶
Package db handles interactions with the MongoDB instance and works as an abstraction layer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assignment ¶ added in v0.0.2
type Assignment struct {
gen.Assignment
Tasks []gen.AssignmentTask
}
Assignment implements EntityMerger
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the abstraction layer for the MongoDB connector
func (*Client) Disconnect ¶
Disconnect disconnects from the MongoDB instance
type EntityMerger ¶ added in v0.0.2
type PlanetSnapshot ¶ added in v0.0.2
type PlanetSnapshot struct {
gen.PlanetSnapshot
Event *gen.EventSnapshot
Statistics gen.SnapshotStatistic
}
type Snapshot ¶ added in v0.0.2
type Snapshot struct {
gen.Snapshot
WarSnapshot gen.WarSnapshot
AssignmentSnapshots []gen.AssignmentSnapshot
PlanetSnapshots []PlanetSnapshot
Statistics gen.SnapshotStatistic
}
Snapshot implements EntityMerger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.