templates

package
v0.0.0-...-c9e3aad Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DealArgs

type DealArgs struct {
	IsOwner   bool
	Logined   bool
	Deal      *models.Deal
	Role      string
	AmountHas int
}

type DealGeneralInfoArgs

type DealGeneralInfoArgs struct {
	Deal *models.Deal
}

type DealListArgs

type DealListArgs struct {
	Deals []models.Deal
}

type DealsArgs

type DealsArgs struct {
	Logined    bool
	Securities []models.Security
	Deals      []models.Deal
	Role       string
}

type GeneralProfileInfoArgs

type GeneralProfileInfoArgs struct {
	User *models.User
}

type GenericErrorArgs

type GenericErrorArgs struct {
	Logined bool
	Error   string
}

type InventoryArgs

type InventoryArgs struct {
	User *models.User
}

type ProfileArgs

type ProfileArgs struct {
	User         *models.User
	Transactions []models.Transaction
	Logined      bool
	Securities   []models.Security
}

type Resolver

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

func NewResolver

func NewResolver(cfg *config.Config) *Resolver

func (*Resolver) Execute

func (r *Resolver) Execute(w http.ResponseWriter, name string, data any) error

type SignUpArgs

type SignUpArgs struct {
	Success bool
	Error   string
}

type ToastArgs

type ToastArgs struct {
	Message string
	Error   string
}

Jump to

Keyboard shortcuts

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