storage

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportConfiguration

type ExportConfiguration struct {
	ExportName   string
	Contexts     []string
	Policies     map[string]interface{}
	CacheTTL     *int
	Issuer       string // issuer DID
	KeyNamespace string // signing key namespace
	Key          string // signing key name
}

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func New

func New(db *mongo.Client, dbname, collection string, logger *zap.Logger) (*Storage, error)

func (*Storage) ExportConfiguration

func (s *Storage) ExportConfiguration(ctx context.Context, exportName string) (*ExportConfiguration, error)

Jump to

Keyboard shortcuts

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