storer

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: AGPL-3.0 Imports: 3 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"`
}

func Get

func Get() Info

func GetOk

func GetOk() (*Info, bool)

func NewInfo

func NewInfo() *Info

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