Skip to content

go-pandora/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandora

Pandora is a simple web service API implemented with golang.

Installation

go get github.com/Fallensouls/Pandora

How to use

Required

  • PostgreSQL
  • Redis

Configuration

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

Features

  • Restful API
  • JWT-based authentication
  • Yaml Configuration
  • OAuth
  • Swagger
  • Log
  • Docker
  • Pandora-pkg
    • CAPTCHA
    • Email
    • SMS
    • QR Code

Packages we use

Author

Fallensouls - I really love golang which changes my code style and thinking in programming. Hope that everyone could enjoy golang!

Releases

No releases published

Packages

No packages published

Languages