mirror of
https://github.com/astaxie/beego.git
synced 2024-11-29 11:11:33 +00:00
add some comments
This commit is contained in:
parent
e88c2be013
commit
b32b12b208
14
beego.go
14
beego.go
@ -39,13 +39,13 @@ var (
|
|||||||
SessionSavePath string // session savepath if use mysql/redis/file this set to the connectinfo
|
SessionSavePath string // session savepath if use mysql/redis/file this set to the connectinfo
|
||||||
UseFcgi bool
|
UseFcgi bool
|
||||||
MaxMemory int64
|
MaxMemory int64
|
||||||
EnableGzip bool // enable gzip
|
EnableGzip bool // enable gzip
|
||||||
DirectoryIndex bool //ebable DirectoryIndex default is false
|
DirectoryIndex bool //ebable DirectoryIndex default is false
|
||||||
EnbaleHotUpdate bool //enable HotUpdate default is false
|
EnbaleHotUpdate bool //enable HotUpdate default is false
|
||||||
HttpServerTimeOut int64
|
HttpServerTimeOut int64 //set httpserver timeout
|
||||||
ErrorsShow bool
|
ErrorsShow bool //set weather show errors
|
||||||
XSRFKEY string
|
XSRFKEY string //set XSRF
|
||||||
CopyRequestBody bool
|
CopyRequestBody bool //When in raw application, You want to the reqeustbody
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user