storer

package
v3.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorerInfoKey = `NgingStorer`
)

Variables

View Source
var (
	Default                 = Info{Name: `local`}
	DefaultWatermarkOptions = &image.WatermarkOptions{
		Watermark: filepath.Join(echo.Wd(), `public/assets/backend/images/nging-gear.png`),
		Type:      "image",
		On:        true,
	}
)

Functions

func GetWatermarkOptions

func GetWatermarkOptions() *image.WatermarkOptions

Types

type Info

type Info struct {
	Name string `json:"name" xml:"name"`
	ID   string `json:"id" xml:"id"`
	// contains filtered or unexported fields
}

func Get

func Get() Info

func GetOk

func GetOk() (*Info, bool)

func NewInfo

func NewInfo() *Info

func (*Info) Cloud

func (s *Info) Cloud(forces ...bool) *dbschema.NgingCloudStorage

func (*Info) FromStore

func (s *Info) FromStore(v echo.H) *Info

Jump to

Keyboard shortcuts

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