firestore

package
v1.0.1-0...-9e42952 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KillStore

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

func NewKillStore

func NewKillStore(ctx context.Context, projectID string, credentialsFilePath string) (*KillStore, error)

func (*KillStore) Close

func (s *KillStore) Close()

func (*KillStore) CreateKill

func (s *KillStore) CreateKill(ctx context.Context, kill *storage.Kill) (*storage.Kill, error)

func (*KillStore) DeleteKill

func (s *KillStore) DeleteKill(ctx context.Context, id string) error

func (*KillStore) DeleteKillsForServer

func (s *KillStore) DeleteKillsForServer(ctx context.Context, serverId string) error

func (*KillStore) GetKillByID

func (s *KillStore) GetKillByID(ctx context.Context, id string) (*storage.Kill, error)

func (*KillStore) ListKillsForServer

func (s *KillStore) ListKillsForServer(ctx context.Context, serverId string) ([]*storage.Kill, error)

func (*KillStore) ListPlayerKillsForServer

func (s *KillStore) ListPlayerKillsForServer(ctx context.Context, serverId string, killerId string) ([]*storage.Kill, error)

Jump to

Keyboard shortcuts

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