photosave

package module
v0.0.0-...-8216551 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(d SaveObj) (fname string, err error)

Читаем данные и сохраняем фотки

func SaveReader

func SaveReader(d SaveObj) (fname string, err error)

Сохраняем фотки

Types

type SaveObj

type SaveObj struct {
	R                 *http.Request
	Reader            multipart.File
	ValueName         string
	FilePath          string
	FileName          string
	FileNameRnd       bool
	WatermarkPath     string
	WatermarkX        int
	WatermarkXFromMax bool
	WatermarkY        int
	WatermarkYFromMax bool
}

Jump to

Keyboard shortcuts

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