hustracker-backend

module
v0.0.0-...-4c09e60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: MIT

README

Welcome to hustracker 👋

Yet another aminer

TODO

  • Using APQ(Automatic persisted queries)

Structure

                          Frontend
                             ^
                             |
           +-------------------------------------+
           |                                     |
           |                                     |
           |              graphql                |
           |                                     |
           |                                     |
           +-------------------------------------+
               ^               ^              ^
               |               |              |
               +               +              +
           +-------------------------------------+
           |                                     |
           |                                     |
           |           load balancing            |
           |                                     |
           |                                     |
           +-------------------------------------+
               ^               ^              ^
               |               |              |
               +               +              +
         +----------+    +----------+   +----------+
         |          |    |          |   |          |
         |          |    |          |   |          |
         |  server  |    |  server  |   |  server  |
         |          |    |          |   |          |
         |          |    |          |   |          |
         +----------+    +----------+   +----------+
              ^                ^              ^
              |                |              |
              +                +              +
           +-------------------------------------+
           |                                     |
           |                                     |
           |             dataloader              |
           |                                     |
           |                                     |
           +-------------------------------------+
                ^             ^              ^
                |             |              |    through rpc/HTTP
                +             +              +
          +----------+   +----------+   +----------+
          |          |   |          |   |          |
          |          |   |          |   |          |
          | database |   | database |   | database |
          |          |   |          |   |          |
          |          |   |          |   |          |
          +----------+   +----------+   +----------+
               ^              ^              ^
               |              |              |    through rpc
               +              +              +
          +----------+   +----------+   +----------+
          |          |   |          |   |          |
          |          |   |          |   |          |
          | crawlers |   | crawlers |   | crawlers |
          |          |   |          |   |          |
          |          |   |          |   |          |
          +----------+   +----------+   +----------+

Install

go get ./...

Usage

go run server/server.go

Run tests

go test ./...

Author

👤 Colin

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 colinaaa.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Directories

Path Synopsis
e
Package e is the custom error package that provide function to generate Err with code and message
Package e is the custom error package that provide function to generate Err with code and message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL