package
2.6.4
Repository: https://github.com/wangyougui/gf.git
Documentation: pkg.go.dev

# Functions

Cfg is alias of Config.
Client is a convenience function, which creates and returns a new HTTP client.
Config returns an instance of config object with specified name.
DB returns an instance of database ORM object with specified configuration group name.
Dump dumps a variable to stdout with more manually readable.
DumpJson pretty dumps json content to stdout.
DumpTo writes variables `values` as a string in to `writer` with more manually readable.
DumpWithOption returns variables `values` as a string with more manually readable.
DumpWithType acts like Dump, but with type information.
Go creates a new asynchronous goroutine function with specified recover function.
I18n returns an instance of gi18n.Manager.
IsEmpty checks whether given `value` empty.
IsNil checks whether given `value` is nil.
Listen is an alias of gproc.Listen, which handles the signals received and automatically calls registered signal handler functions.
Log returns an instance of glog.Logger.
Model creates and returns a model based on configuration of default database group.
ModelRaw creates and returns a model based on a raw sql not a table.
NewVar returns a gvar.Var.
Redis returns an instance of redis client with specified configuration group name.
RequestFromCtx retrieves and returns the Request object from context.
Res is alias of Resource.
Resource returns an instance of Resource.
Server returns an instance of http server with specified name.
SetDebug enables/disables the GoFrame internal logging manually.
TCPServer returns an instance of tcp server with specified name.
Throw throws an exception, which can be caught by TryCatch function.
Try implements try..
TryCatch implements try...catch..
UDPServer returns an instance of udp server with specified name.
Validator is a convenience function, which creates and returns a new validation manager object.
View returns an instance of template engine object with specified name.
Wait is an alias of ghttp.Wait, which blocks until all the web servers shutdown.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author