entity

package
v0.0.0-...-bec0fbe Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance

type Balance struct {
	ID       uuid.UUID            `json:"id"`
	Version  int64                `json:"version"`
	Sequence uint64               `json:"sequence"`
	Kind     projection.TokenKind `json:"kind,omitempty"`
	Status   event.Status         `json:"status,omitempty"`
	Balance  int64                `json:"balance,omitempty"`
	Owner    string               `json:"owner,omitempty"`
}

func (Balance) IsZero

func (b Balance) IsZero() bool

type Base64

type Base64 []byte

func (Base64) MarshalJSON

func (b Base64) MarshalJSON() ([]byte, error)

func (*Base64) UnmarshalJSON

func (b *Base64) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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