Documentation ¶ Index ¶ type AssetStorage func New(db *gorm.DB, storeConfigs []config.Store) (*AssetStorage, error) func (s *AssetStorage) Get(ctx context.Context, asset *state.Asset) ([]byte, error) func (s *AssetStorage) Store(ctx context.Context, user *state.User, extension string, data []byte) (*state.Asset, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AssetStorage ¶ type AssetStorage struct { // contains filtered or unexported fields } func New ¶ func New(db *gorm.DB, storeConfigs []config.Store) (*AssetStorage, error) func (*AssetStorage) Get ¶ func (s *AssetStorage) Get(ctx context.Context, asset *state.Asset) ([]byte, error) func (*AssetStorage) Store ¶ func (s *AssetStorage) Store(ctx context.Context, user *state.User, extension string, data []byte) (*state.Asset, error) Source Files ¶ View all Source files module.go Click to show internal directories. Click to hide internal directories.