db

package
v0.2.71 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionPasswords

func CollectionPasswords(ctx context.Context) (*mongo.Collection, error)

Types

type Password

type Password struct {
	ID                primitive.ObjectID `bson:"_id" json:"id"`
	Name              string             `bson:"name" json:"name"`
	Username          string             `bson:"username" json:"username"`
	Password          string             `bson:"password" json:"password"`
	PasswordUpdatedAt time.Time          `bson:"passwordUpdatedAt" json:"passwordUpdatedAt"`
	Note              string             `bson:"note" json:"note"`
	CreatedAt         time.Time          `bson:"createdAt" json:"createdAt"`
	UpdatedAt         time.Time          `bson:"updatedAt" json:"updatedAt"`
}

Jump to

Keyboard shortcuts

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