worlds

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func NewDB

func NewDB(conn *pgxpool.Pool, commonDB database.CommonDB, objectsDB database.ObjectsDB) *DB

func (*DB) GetAllWorldIDs added in v0.4.0

func (db *DB) GetAllWorldIDs(ctx context.Context) ([]umid.UMID, error)

func (*DB) GetRecentWorldIDs added in v0.4.0

func (db *DB) GetRecentWorldIDs(ctx context.Context) ([]umid.UMID, error)

func (*DB) GetWorldIDs added in v0.2.0

func (db *DB) GetWorldIDs(ctx context.Context, sortType universe.SortType, limit string) ([]umid.UMID, error)

func (*DB) GetWorlds added in v0.2.0

func (db *DB) GetWorlds(ctx context.Context) ([]*entry.Object, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL