asset_manager

package
v0.0.0-...-a990035 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetManager

type AssetManager struct {
	aorm.Model
	File oss.OSS `media_library:"URL:/system/assets/{{primary_key}}/{{filename_with_hash}}"`
}

AssetManager defined a asset manager that could be used to manage assets in qor admin

func (*AssetManager) ConfigureResource

func (*AssetManager) ConfigureResource(res resource.Resourcer)

ConfigureResource configure qor locale for Qor Admin

type Plugin

type Plugin struct {
	pluggable.EventDispatcher
	DBName string
}

func (*Plugin) OnRegister

func (p *Plugin) OnRegister(options *pluggable.Options)

Jump to

Keyboard shortcuts

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