berry

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: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IController

type IController interface {
	GetList(malina *Malina, w http.ResponseWriter, r *http.Request, condition string)
	FormHandler(malina *Malina, action byte, w http.ResponseWriter, r *http.Request)
	ResultHandler(malina *Malina, args ...interface{})
	Default(malina *Malina, w http.ResponseWriter, r *http.Request)
}

type Malina

type Malina struct {
	ChannelBool    chan bool
	Lang           string
	CurrentAccount *entity.Account
	SessionId      string
	Status         int64
	Result         map[string]interface{}

	Controller IController
	List       *[]entity.Scanable
	Item       entity.Scanable

	IdInt64     int64
	IdStr       string
	Url         string
	Order_index int64

	Per_page int64

	Page    int64
	PageStr string

	Search string

	TableSql   string
	JoinSql    string
	SelectSql  string
	WhereSql   string
	LimitSql   string
	OrderBySql string

	All int64

	Department     string
	ControllerName string
	Action         string
	Paging         string
	Device         string

	NavAuth            template.HTML
	Content            template.HTML
	CategoryParameters template.HTML
}

func (*Malina) Deadline

func (s *Malina) Deadline() (deadline time.Time, ok bool)

Deadline returns the time when this Context will be canceled, if any.

func (*Malina) Done

func (s *Malina) Done() <-chan struct{}

**** Context Done returns a channel that is closed when this Context is canceled or times out.

func (*Malina) Err

func (s *Malina) Err() error

Err indicates why this context was canceled, after the Done channel is closed.

func (*Malina) Value

func (s *Malina) Value(key interface{}) interface{}

Value returns the value associated with key or nil if none.

Jump to

Keyboard shortcuts

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