model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecretIDFilter

func GetSecretIDFilter(projectID, secretID uuid.UUID) bson.M

Types

type Secret

type Secret struct {
	ProjectID uuid.UUID `bson:"project_id" json:"project_id"`
	SecretID  uuid.UUID `bson:"secret_id" json:"user_id"`
	Secret    []byte    `bson:"secret,omitempty" json:"secret,omitempty"`
}

Jump to

Keyboard shortcuts

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