space

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	QuerySingleSpaceTypeByUUID(id uuid.UUID) (map[string]interface{}, error)
	QuerySingleSpaceBySpaceTypeId(id uuid.UUID) (map[string]interface{}, error)
	QuerySingleSpaceById(id uuid.UUID) (map[string]interface{}, error)
	LoadSpaceTileTextures(id uuid.UUID) (map[string]string, error)
	SelectChildrenSpacesByParentId(id []byte) ([]childrenSpace, error)
	SelectChildrenEntriesByParentId(id []byte) (map[uuid.UUID]map[string]interface{}, error)
	QuerySpaceAttributesById(id uuid.UUID) ([]spaceAttribute, error)
	GetStageModeUsersSpaces() ([]UserSpace, error)
	DisableStageModeForUserInSpace(userID, spaceID uuid.UUID) error
	GetOnlineSpaceIDs() ([]uuid.UUID, error)
	CheckOnlineSpaceByID(id uuid.UUID) (bool, error)
}

func NewStorage

func NewStorage(db sqlx.DB) Storage

type UserSpace added in v0.2.0

type UserSpace struct {
	UserID  uuid.UUID
	SpaceID uuid.UUID
}

Jump to

Keyboard shortcuts

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