Documentation ¶
Index ¶
- type AddDeviceParams
- type AddPeerParams
- type AddWalletParams
- type DBTX
- type Device
- type DkgParams
- type GetUserSigningParametersRow
- type Queries
- func (q *Queries) AddDevice(ctx context.Context, arg AddDeviceParams) (Device, error)
- func (q *Queries) AddPeer(ctx context.Context, arg AddPeerParams) (Device, error)
- func (q *Queries) AddUser(ctx context.Context, foreignKey string) (User, error)
- func (q *Queries) AddWallet(ctx context.Context, arg AddWalletParams) (Wallet, error)
- func (q *Queries) Dkg(ctx context.Context, arg DkgParams) (Device, error)
- func (q *Queries) GetFirstUser(ctx context.Context) (User, error)
- func (q *Queries) GetUserByAddress(ctx context.Context, publicaddress string) (User, error)
- func (q *Queries) GetUserByForeignKey(ctx context.Context, foreignkey string) (User, error)
- func (q *Queries) GetUserDevices(ctx context.Context, userid int64) ([]Device, error)
- func (q *Queries) GetUserSigningParameters(ctx context.Context, foreignkey string) (GetUserSigningParametersRow, error)
- func (q *Queries) GetUserWallets(ctx context.Context, userid int64) ([]Wallet, error)
- func (q *Queries) GetWalletByAddress(ctx context.Context, publicaddress string) (Wallet, error)
- func (q *Queries) Status(ctx context.Context) (interface{}, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type User
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDeviceParams ¶
type AddPeerParams ¶ added in v1.2.0
type AddWalletParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetFirstUser ¶
----- SELECTS -------
func (*Queries) GetUserByAddress ¶
func (*Queries) GetUserByForeignKey ¶
func (*Queries) GetUserDevices ¶
func (*Queries) GetUserSigningParameters ¶
func (*Queries) GetUserWallets ¶
func (*Queries) GetWalletByAddress ¶
Click to show internal directories.
Click to hide internal directories.