1
0
mirror of https://github.com/astaxie/beego.git synced 2025-02-01 01:47:13 +00:00
Phillip Stagnet ec55edfbc4
Add additional options to redis session prov
Adding option for frequency of checking timed out connections as well as
an option to specify retries.

These changes make redis provider more stable since connection problems
are becoming fewer.

Since redigo does not have this options and since redis_sentinel and
redis_cluster are using go-redis as a client, this commit changes from
redigo to go-redis for redis session provider.

Added tests for redis session provider as well.
2020-08-06 11:14:36 +02:00
2016-03-23 17:05:40 +08:00
2020-07-22 23:00:06 +08:00
2020-07-22 23:00:06 +08:00
2020-07-29 14:42:27 +00:00
2019-05-17 16:19:26 +05:30
2018-03-10 17:15:24 +08:00
2020-08-05 07:25:34 +00:00
2015-09-12 23:19:18 +08:00
2020-07-22 23:00:06 +08:00
2020-08-05 07:25:34 +00:00
2020-07-22 23:00:06 +08:00
2020-08-05 07:25:34 +00:00
2020-08-04 07:26:51 +00:00
2020-08-05 21:57:20 +08:00
2016-09-13 22:43:40 +08:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2017-04-20 10:56:09 +08:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2017-07-19 00:37:42 +08:00
2020-08-05 21:57:20 +08:00
2016-03-25 10:31:48 +08:00
2020-08-05 21:57:20 +08:00
2017-03-17 20:22:20 +02:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2020-07-08 18:09:01 +08:00
2014-05-17 02:26:50 +08:00
2016-08-17 22:56:21 +08:00
2017-03-17 20:22:20 +02:00
2020-08-05 21:57:20 +08:00
2020-04-26 19:26:10 +08:00
2020-08-05 21:57:20 +08:00
2020-07-10 09:58:06 +08:00
2020-08-05 21:57:20 +08:00
2020-05-09 10:44:37 +08:00
2020-07-22 23:00:06 +08:00
2020-08-05 07:25:34 +00:00
2020-08-05 21:57:20 +08:00
2020-08-05 21:57:20 +08:00
2017-03-10 09:28:25 +08:00
2020-08-05 21:57:20 +08:00
2017-11-25 19:18:37 +02:00

Beego Build Status GoDoc Foundation Go Report Card

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 at beego.me.

Quick Start

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

Download and install

go get github.com/astaxie/beego
package main

import "github.com/astaxie/beego"

func main(){
    beego.Run()
}

Build and run

go build hello.go
./hello

Go to http://localhost:8080

Congratulations! You've just built your first beego app.

Please see Documentation for more.
beego-example

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%