logic

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Character

type Character struct{}

func (*Character) CreditFunds

func (*Character) CreditFunds(ctx context.Context, inst *pb.Character, relCnc *pb.CharacterRelated, payload *pb.FundingRequest) (*pb.Character, error)

func (*Character) DebitFunds

func (*Character) DebitFunds(ctx context.Context, inst *pb.Character, relCnc *pb.CharacterRelated, payload *pb.FundingRequest) (*pb.Character, error)

func (Character) Fund

func (Character) Fund(ctx context.Context, inst *pb.Character, relCnc *pb.CharacterRelated, payload *pb.FundingRequest) (*pb.Character, error)

func (*Character) ValidateCreate

func (*Character) ValidateCreate(ctx context.Context, inst *pb.Character) (*pb.Character, error)

func (*Character) ValidateUpdate

func (c *Character) ValidateUpdate(ctx context.Context, original *pb.Character, updated *pb.Character) (*pb.Character, error)

type Player

type Player struct{}

func (*Player) ValidateCreate

func (*Player) ValidateCreate(ctx context.Context, inst *pb.Player) (*pb.Player, error)

func (*Player) ValidateUpdate

func (p *Player) ValidateUpdate(ctx context.Context, original *pb.Player, updated *pb.Player) (*pb.Player, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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