Documentation ¶
Index ¶
- func FromBase64(s string) ([]byte, error)
- func Load(file string, obj interface{}) error
- func Loop(fn func(en Engine) error) error
- func Main() error
- func Package(o interface{}, ds ...string) string
- func Random(n int) ([]byte, error)
- func Register(ens ...Engine)
- func Shell(cmd string, args ...string) error
- func Store(file string, obj interface{}) error
- func ToBase64(b []byte) string
- func UUID() string
- type BytesSerial
- type Encryptor
- type Engine
- type Hashing
- type JSONSerial
- type Md5
- type Model
- type SaltHashing
- type Serial
- type Sha512
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BytesSerial ¶
type BytesSerial struct { }
BytesSerial serial by gob
func (*BytesSerial) From ¶
func (p *BytesSerial) From(d []byte, o interface{}) error
From bytes-to-object
type Engine ¶
type Engine interface { Map(inj inject.Injector) martini.Handler Mount(martini.Router) Migrate() martini.Handler Seed() martini.Handler Worker() martini.Handler Shell() []cli.Command }
Engine web module
type JSONSerial ¶
type JSONSerial struct { }
JSONSerial json serial
func (*JSONSerial) From ¶
func (p *JSONSerial) From(j []byte, o interface{}) error
From bytes-to-object
Source Files ¶
Click to show internal directories.
Click to hide internal directories.