Pandora is a simple web service API implemented with golang.
go get github.com/Fallensouls/Pandora
- PostgreSQL
- Redis
You can use your own configuration to run Pandora. For example:
service:
name: Pandora
server:
run_mode: debug # debug, release or test
port: 8080
read_timeout: 60 # 60s
write_timeout: 60
database:
type: postgres
name: postgres
user: postgres
password: *******
host: 127.0.0.1
port: 5432
redis:
host: 127.0.0.1
port: 6379
password: *******
jwt:
signing_algorithm: HS256 # HS256, HS384 or HS512
secret: *******
timeout: 60 # 60min
issuer: Fallensouls
- Restful API
- JWT-based authentication
- Yaml Configuration
- OAuth
- Swagger
- Log
- Docker
- Pandora-pkg
- CAPTCHA
- SMS
- QR Code
- HTTP Router gin - github.com/gin-gonic/gin
- ORM xorm - github.com/go-xorm/xorm
- Redis github.com/go-redis/redis
- YAML gopkg.in/yaml.v2
- JWT github.com/dgrijalva/jwt-go
Fallensouls - I really love golang which changes my code style and thinking in programming. Hope that everyone could enjoy golang!