persistence

package
v0.182.39 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDApp

func DeleteDApp(db *sql.DB, url string) error

func UpsertDApp

func UpsertDApp(db *sql.DB, dApp *DApp) error

Types

type DApp

type DApp struct {
	URL           string        `json:"url"`
	Name          string        `json:"name"`
	IconURL       string        `json:"iconUrl"`
	SharedAccount types.Address `json:"sharedAccount"`
	ChainID       uint64        `json:"chainId"`
}

func SelectDAppByUrl

func SelectDAppByUrl(db *sql.DB, url string) (*DApp, error)

Jump to

Keyboard shortcuts

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