model

package
v0.0.0-...-bae9ab4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateWalletInput

type CreateWalletInput struct {
	Currency string `json:"currency"`
}

type Mutation

type Mutation struct {
}

type NewUser

type NewUser struct {
	Email       string `json:"email"`
	DisplayName string `json:"displayName"`
}

type Operation

type Operation interface {
	IsOperation()
	GetID() string
	GetWalletID() string
	GetAmount() float64
	GetDescription() *string
	GetCreatedAt() time.Time
}

type Query

type Query struct {
}

type Role

type Role struct {
	UserID string      `json:"userId"`
	Role   auth.RoleID `json:"role"`
}

Jump to

Keyboard shortcuts

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