common

package
v0.0.0-...-6ed6c48 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: 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 Store

type Store struct {
	Config   *config.PersistentStore
	Logger   *zap.Logger
	Database *gorm.DB
}

func NewStore

func NewStore(config *config.PersistentStore, logger *zap.Logger) (*Store, error)

func (*Store) Close

func (s *Store) Close()

func (*Store) GetImageStorage

func (s *Store) GetImageStorage(ctx context.Context) *storage.ImageStorage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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