1
0
mirror of https://github.com/astaxie/beego.git synced 2025-01-22 11:37:12 +00:00
PaulChen2016 0cb8de4218 Beego 运行过程中动态增减定时任务时,now的时间需要更新,否则等待时间会不正确
beego 启动时,执行toolbox.StartTask()
运行过程中,动态添加定时任务(这个是now时间已经不是starttask的时间了,需要刷新)     
     case <-changed:
			now = time.Now().Local()
			continue
2017-04-19 16:22:58 +08:00
2016-03-23 17:05:40 +08:00
2017-03-04 20:23:55 +08:00
2017-01-05 18:27:23 +08:00
2017-01-04 15:53:20 +08:00
2016-03-25 10:56:15 +08:00
2015-09-12 23:19:18 +08:00
2016-12-29 22:30:56 +01:00
2017-01-04 15:53:20 +08:00
2016-10-11 11:06:22 -05:00
2016-04-18 19:16:39 +08:00
2016-09-13 22:43:40 +08:00
2016-06-01 20:18:11 +08:00
2017-03-06 21:29:41 +08:00
2016-06-01 19:57:08 +08:00
2017-02-27 09:41:15 +08:00
2016-01-13 22:02:36 +08:00
2017-02-07 22:18:33 +02:00
2016-01-17 23:48:17 +08:00
2016-03-27 15:07:51 +08:00
2016-08-30 21:00:27 +08:00
2016-03-25 10:31:48 +08:00
2015-09-08 21:41:38 +08:00
2016-01-15 14:07:37 +08:00
2014-05-17 02:26:50 +08:00
2016-03-25 15:04:52 +08:00
2016-08-17 22:56:21 +08:00
2016-04-27 23:57:36 +08:00
2016-03-15 11:49:23 +08:00
2016-09-21 19:33:12 +08:00
2016-09-28 21:21:07 +03:00
2016-09-23 14:16:16 +08:00
2017-02-10 17:45:47 +09:00
2016-02-12 11:36:59 +08:00
2016-09-11 21:27:27 +08:00
2016-09-02 16:08:04 +08:00
2016-09-01 15:04:57 +08:00

Beego

Build Status GoDoc Foundation

beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.

More info beego.me

##Quick Start ######Download and install

go get github.com/astaxie/beego

######Create file hello.go

package main

import "github.com/astaxie/beego"

func main(){
    beego.Run()
}

######Build and run

    go build hello.go
    ./hello

######Congratulations! You just built your first beego app. Open your browser and visit http://localhost:8080. Please see Documentation for more.

Features

  • RESTful support
  • MVC architecture
  • Modularity
  • Auto API documents
  • Annotation router
  • Namespace
  • Powerful development tools
  • Full stack for Web & API

Documentation

Community

LICENSE

beego source code is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Description
beego mirror
Readme 9.4 MiB
Languages
Go 99.6%
Shell 0.4%