JessonChan
ea91e7638c
move log function to log package
2019-03-12 17:01:23 +08:00
Ruben Cid
aaa7e33778
Autocert ok
2018-07-20 19:54:25 +02:00
Ruben Cid
38f9a3c49e
AutoCert
2018-07-20 18:53:57 +02:00
astaxie
0711c3289f
fix the orm test
2018-07-20 19:58:56 +08:00
astaxie
b21c59ee70
Merge pull request #3206 from whilei/gofmt-2018-Jun-17-00-39
...
gofmt
2018-06-23 22:38:07 +08:00
ia
87ba3f3cd3
all: gofmt
...
Run standard gofmt command on project root.
- go version go1.10.3 darwin/amd64
Signed-off-by: ia <isaac.ardis@gmail.com>
2018-06-17 00:47:51 +02:00
Pure White
619cd2d908
fix a typo
2017-12-08 23:01:21 +08:00
hao.hu
646acc423e
Change HTTPMETHOD type
2017-11-30 01:43:50 +08:00
BorisBorshevsky
df37739c7d
fix golint comments
2017-11-25 19:18:37 +02:00
astaxie
f7afb3cb75
Merge pull request #2878 from silviucm/master
...
Add the ability to unregister fixed routes
2017-11-19 10:41:40 +08:00
astaxie
532eab8e1d
Merge pull request #2932 from lotus-wu/Branch_v1.9.0
...
1.Add Mutual HTTPS Option!
2017-11-19 10:26:59 +08:00
lotus
3872382a4b
1.Add Mutual HTTPS Option!
2017-11-15 22:42:30 +08:00
hemin
e91afb1938
add custom middleware options for beego.Run()
2017-10-16 14:55:08 +08:00
Silviu Capota-Mera
8d59e7afd1
for the root path, all methods must be covered
...
use continue instead of return
2017-10-07 13:16:36 -04:00
Silviu Capota-Mera
fd733f76f0
simplify replacement of the base (root) tree
2017-10-07 12:14:28 -04:00
Silviu Capota-Mera
5697c6d7cc
Remove redundant return to pass gosimple Travis check
2017-09-25 23:17:57 -04:00
Silviu Capota-Mera
51a6162363
Update app.go
2017-09-25 21:45:42 -04:00
Silviu Capota-Mera
5a12b3d020
Add the ability to unregister fixed routes
...
Certain web application inherit most of the routes from a base application by using the underscore import
(e.g. import _ "myoldapp.com/routers").
The new application might want to only overwrite certain pages, such as "/about" or "/faq"
The proposed new UnregisterFixedRoute method allows unregistering of the specified paths.
Usage (replace "GET" with "*" for all methods):
beego.UnregisterFixedRoute("/yourpreviouspath", "GET")
beego.Router("/yourpreviouspath", yourControllerAddress, "get:GetNewPage")
The children paths are left intact.
For example, /yourpreviouspath/oldchildsubpath should still continue to function in legacy mode.
2017-09-25 20:52:19 -04:00
Vladimir Shteinman
fb04d3cff1
Fix example for Hander func
2017-03-30 12:53:12 +03:00
ysqi
d9b05e6b3f
Print complete URL after running
2016-06-01 20:18:11 +08:00
astaxie
73f499948a
Merge pull request #1906 from Maxgis/issue_redundancy
...
remove redundancy code and add port confict tip
2016-04-28 09:59:47 +08:00
maxin[马鑫]
5402c753fb
remove redundancy code and add port confict tip
2016-04-26 10:16:53 +08:00
JessonChan
98dfecfd8a
change beego log function to logs function
2016-03-24 17:39:29 +08:00
JessonChan
c92c3fc8b5
make the BeegoLogger a adapter of http server ErrorLog
2016-03-14 10:21:07 +08:00
astaxie
6660720ce6
update some config name
2016-01-12 21:55:02 +08:00
fuxiaohei
a06022f75c
clean compliated codes, refactor if sections in app.go
2015-12-12 14:10:02 +08:00
astaxie
d1bba02958
refact beego config
2015-12-09 23:35:04 +08:00
astaxie
a26dee556d
fix #1335
2015-11-05 00:19:09 +08:00
astaxie
e3120226fa
Merge pull request #1414 from FlamingTree/develop
...
bugfix: graceful failed when both enable http and https
2015-11-04 23:27:27 +08:00
John Deng
205de8418d
Fixed typos
2015-11-03 23:43:34 +08:00
shaoguang
f81929c28c
bugfix: graceful failed when both enable http and https
2015-11-03 14:53:26 +08:00
astaxie
f28a941e26
make golint happy and also make the config readable
2015-09-07 23:19:42 +08:00
astaxie
152127c2af
make golint happy
2015-09-07 21:38:53 +08:00
astaxie
eb3479b753
optimize the app structure
2015-09-06 23:00:42 +08:00
JessonChan
b26ef5b2e5
typo fixed
...
registor==>register
innner ==> inner
2015-07-27 08:44:58 +08:00
astaxie
edbaa080f1
update the string
2015-05-25 09:10:38 +08:00
astaxie
d56491ab3a
sync beeApp.Server to graceful
2015-05-25 09:10:38 +08:00
astaxie
4138fe0217
beego suppot graceful restart application
2015-05-25 09:10:37 +08:00
astaxie
f96a6285bf
fix #978
2015-02-27 22:21:58 +08:00
astaxie
716962672f
fix #751
...
add config ListenTCP4
when user want to listen on the TCP4, because now almost use the ipv4.
but default lister on the ipv6
2014-11-03 15:06:25 +08:00
Jens Bissinger
812950b60d
Allow to use fastcgi via standard io.
2014-10-13 13:47:44 +02:00
astaxie
f7cd1479ba
beego: improve the log debug for running server
2014-09-05 17:04:02 +08:00
astaxie
a144769515
update the documents & comments
2014-08-18 16:41:43 +08:00
astaxie
0836b9e13f
fix #718
2014-08-01 17:03:28 +08:00
astaxie
fefd8ddb5b
beego: update licence& fix #669
2014-07-03 23:40:21 +08:00
astaxie
0f170a80da
update the comments fix #658
2014-06-25 10:39:37 +08:00
astaxie
4786fb0948
beego:fix typo NewControllerRegister
2014-06-10 20:12:57 +08:00
astaxie
33ad6c1370
beego: remove app funciont & fix #590
...
config := tls.Config{
ClientAuth: tls.RequireAndVerifyClientCert,
Certificates: []tls.Certificate{cert},
ClientCAs: pool,
}
config.Rand = rand.Reader
beego.BeeApp.Server. TLSConfig = &config
2014-05-20 17:28:06 +08:00
astaxie
04290dfc68
beego: delete hotupdate
2014-05-20 16:41:39 +08:00
astaxie
f215aa4810
beego: change the error tips
2014-05-20 15:34:27 +08:00