Sign inSign up

edgepro/mb-web

By edgepro

•Updated almost 10 years ago

Web service for psmb written in Golang. Maintainer: Taka Wang

Image
2

1.2K

edgepro/mb-web repository overview

⁠mb-web⁠

Docker GoDoc Go Report Card

REST web service for psmb⁠ written in Golang.


⁠Continuous Integration

I do continuous integration and build docker images after git push by self-hosted drone.io⁠ server for armhf platform , circleci⁠ server for x86 platform and dockerhub⁠ service.

CI ServerTargetStatus
Travisx86Travis
CircleCIx86Circle
DronearmhfDrone

⁠Environment variables

Why environment variable? Refer to the 12 factors⁠

  • CONF_WEB: config file path
  • EP_BACKEND: endpoint of remote service discovery server (optional)

⁠Design principles

⁠REST API Testing

I implement three kinds of REST API testing.

gif

⁠Golang Package Management

  • I adopted glide⁠ as package management system for this repository.

⁠Worker Pool Model

⁠Request from frontend

uml

⁠Response from psmbtcp

uml


⁠API Document

Swagger YAML⁠

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

9.2 MB

Last updated

almost 10 years ago

docker pull edgepro/mb-web