user

package
v0.0.0-...-b7c46b9 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Membership

type Membership struct {
	Kind    string    `json:"kind"`
	Owner   bool      `json:"owner"`
	Joined  time.Time `json:"joined"`
	Renewal time.Time `json:"renewal"`
}

type User

type User struct {
	Username   string     `json:"username"`
	Email      string     `json:"email"`
	Firstname  string     `json:"firstname"`
	Lastname   string     `json:"lastname"`
	Dob        time.Time  `json:"dob"`
	Membership Membership `json:"membership"`
}

func (*User) CreateUser

func (u *User) CreateUser() error

func (*User) GetUser

func (u *User) GetUser() error

func (*User) ToDynamoDbAttribute

func (u *User) ToDynamoDbAttribute() map[string]*awsDynamoDb.AttributeValue

func (*User) ToDynamoDbItemInput

func (u *User) ToDynamoDbItemInput() *awsDynamoDb.GetItemInput

Jump to

Keyboard shortcuts

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