libraries

package
v0.0.0-...-af16168 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UploadLib = &Upload{}

Functions

This section is empty.

Types

type Category

type Category struct {
	Trees              Tree
	PublicJsonTreeList []byte
	MapPublic          map[int64]*entity.Category
	ListPublic         []*entity.Category
	PublicListView     string
}
var CategoryLib *Category = &Category{
	Trees: Tree{},
}

func (*Category) SetPublicBreadcrumbsView

func (s *Category) SetPublicBreadcrumbsView()

func (*Category) SetPublicListView

func (this *Category) SetPublicListView() string

func (*Category) SetPublicTrees

func (s *Category) SetPublicTrees()

func (*Category) SetTrees

func (s *Category) SetTrees(heapList *[]entity.Scanable)

type Parameter

type Parameter struct {
	Trees              Tree
	PublicJsonTreeList []byte
	MapPublic          map[int64]entity.Parameter
	ListPublic         []entity.Parameter
}
var ParameterLib *Parameter = &Parameter{
	Trees: Tree{},
}

func (*Parameter) SetPublicTrees

func (s *Parameter) SetPublicTrees()

func (*Parameter) SetTrees

func (s *Parameter) SetTrees(heapList *[]entity.Scanable)

type Tree

type Tree struct {
	HeapList []entity.Hierarchical
	List     []entity.Hierarchical
	Map      map[int64]entity.Hierarchical

	ListPublic []entity.Hierarchical
}

func (*Tree) SetTrees

func (s *Tree) SetTrees()

type TreeSetter

type TreeSetter interface {
	SetTrees(heapList *[]entity.Scanable)
	SetPublicTrees()
}

type Upload

type Upload struct {
}

func (*Upload) DelFile

func (s *Upload) DelFile(path, filename string) bool

func (*Upload) Img

func (s *Upload) Img(malina *berry.Malina, keyName string, w http.ResponseWriter, r *http.Request) (string, bool)

func (*Upload) PrepareToUploadPublicAjax

func (s *Upload) PrepareToUploadPublicAjax(malina *berry.Malina, indexNumberOfImage int, img string) (string, bool, int)

func (*Upload) SaveUploadedFiles

func (s *Upload) SaveUploadedFiles(malina *berry.Malina, img, fileName string, indexNumberOfImage int, path string) (string, bool, int)

Jump to

Keyboard shortcuts

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