usersmodels

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 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 NewUser

type NewUser struct {
	PublicKey string
	Paymail   *paymailsmodels.NewPaymail
}

NewUser represents data for creating a new user

type User

type User struct {
	ID        string
	CreatedAt time.Time
	UpdatedAt time.Time

	PublicKey string
	Paymails  []*paymailsmodels.Paymail
}

User is a domain model for existing users

func (*User) PubKeyObj

func (u *User) PubKeyObj() (*primitives.PublicKey, error)

PubKeyObj returns the go-sdk primitives.PublicKey object from the user's PubKey string

Jump to

Keyboard shortcuts

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