postgresql

package
v0.0.0-...-160e8be Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ZERO_UUID string = "00000000-0000-0000-0000-000000000000"

Variables

This section is empty.

Functions

func InitPostgresqlPool

func InitPostgresqlPool(ctx context.Context, wg *sync.WaitGroup, config map[string]string) error

Types

type Character

type Character struct{}

func (*Character) Create

func (c *Character) Create(ctx context.Context, inst *pb.Character, cmpdOffset *rkcypb.CompoundOffset) (*pb.Character, error)

func (*Character) Delete

func (*Character) Delete(ctx context.Context, key string, cmpdOffset *rkcypb.CompoundOffset) error

func (*Character) Read

func (*Character) Update

func (c *Character) Update(ctx context.Context, inst *pb.Character, rel *pb.CharacterRelated, cmpdOffset *rkcypb.CompoundOffset) error

type Player

type Player struct{}

func (*Player) Create

func (p *Player) Create(ctx context.Context, inst *pb.Player, cmpdOffset *rkcypb.CompoundOffset) (*pb.Player, error)

func (*Player) Delete

func (*Player) Delete(ctx context.Context, key string, cmpdOffset *rkcypb.CompoundOffset) error

func (*Player) Read

func (*Player) Update

func (p *Player) Update(ctx context.Context, inst *pb.Player, rel *pb.PlayerRelated, cmpdOffset *rkcypb.CompoundOffset) error

Jump to

Keyboard shortcuts

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