├── .gitignore ├── LICENSE ├── Makefile ├── app ├── account │ ├── api │ │ ├── account.go │ │ ├── desc │ │ │ └── account.api │ │ ├── etc │ │ │ └── account.yaml │ │ └── internal │ │ │ ├── config │ │ │ └── config.go │ │ │ ├── handler │ │ │ ├── add_user_asset_handler.go │ │ │ ├── get_captcha_handler.go │ │ │ ├── get_user_asset_list_handler.go │ │ │ ├── login_handler.go │ │ │ ├── register_handler.go │ │ │ ├── routes.go │ │ │ └── validate_token_handler.go │ │ │ ├── logic │ │ │ ├── add_user_asset_logic.go │ │ │ ├── get_captcha_logic.go │ │ │ ├── get_user_asset_list_logic.go │ │ │ ├── login_logic.go │ │ │ ├── register_logic.go │ │ │ └── validate_token_logic.go │ │ │ ├── middleware │ │ │ └── auth_middleware.go │ │ │ ├── svc │ │ │ └── service_context.go │ │ │ └── types │ │ │ └── types.go │ └── rpc │ │ ├── account.go │ │ ├── accountservice │ │ └── account_service.go │ │ ├── etc │ │ └── account.yaml │ │ ├── internal │ │ ├── config │ │ │ └── config.go │ │ ├── consumer │ │ │ └── match_result_consumer.go │ │ ├── dao │ │ │ ├── model │ │ │ │ ├── asset.gen.go │ │ │ │ └── user.gen.go │ │ │ └── query │ │ │ │ ├── asset.gen.go │ │ │ │ ├── gen.go │ │ │ │ └── user.gen.go │ │ ├── logic │ │ │ ├── add_user_asset_logic.go │ │ │ ├── deduct_user_asset_logic.go │ │ │ ├── freeze_user_asset_logic.go │ │ │ ├── get_user_asset_by_coin_logic.go │ │ │ ├── get_user_asset_list_logic.go │ │ │ ├── handle_match_result_logic.go │ │ │ ├── login_logic.go │ │ │ ├── login_out_logic.go │ │ │ ├── register_logic.go │ │ │ ├── un_freeze_user_asset_logic.go │ │ │ └── validate_token_logic.go │ │ ├── server │ │ │ └── account_service_server.go │ │ └── svc │ │ │ └── service_context.go │ │ └── pb │ │ ├── account.pb.go │ │ ├── account.proto │ │ └── account_grpc.pb.go ├── admin │ └── api │ │ ├── admin.go │ │ ├── desc │ │ └── admin.api │ │ ├── etc │ │ └── admin.yaml │ │ └── internal │ │ ├── config │ │ └── config.go │ │ ├── dao │ │ ├── admin │ │ │ ├── model │ │ │ │ ├── coin.gen.go │ │ │ │ ├── error_code.gen.go │ │ │ │ ├── symbol.gen.go │ │ │ │ └── user.gen.go │ │ │ └── query │ │ │ │ ├── coin.gen.go │ │ │ │ ├── error_code.gen.go │ │ │ │ ├── gen.go │ │ │ │ ├── symbol.gen.go │ │ │ │ └── user.gen.go │ │ └── match │ │ │ ├── model │ │ │ ├── match_order_agg.go │ │ │ └── matched_order.gen.go │ │ │ └── query │ │ │ ├── gen.go │ │ │ └── matched_order.gen.go │ │ ├── handler │ │ ├── add_coin_handler.go │ │ ├── add_error_code_handler.go │ │ ├── add_symbol_handler.go │ │ ├── get_coin_list_handler.go │ │ ├── get_error_code_list_handler.go │ │ ├── get_match_list_handler.go │ │ ├── get_service_config_handler.go │ │ ├── get_symbol_list_handler.go │ │ ├── login_handler.go │ │ ├── register_handler.go │ │ ├── routes.go │ │ ├── sync_coin_config_handler.go │ │ ├── sync_error_code_handler.go │ │ ├── sync_symbol_config_handler.go │ │ ├── update_coin_handler.go │ │ ├── update_error_code_handler.go │ │ ├── update_symbol_handler.go │ │ └── upsert_service_config_handler.go │ │ ├── logic │ │ ├── add_coin_logic.go │ │ ├── add_error_code_logic.go │ │ ├── add_symbol_logic.go │ │ ├── get_coin_list_logic.go │ │ ├── get_error_code_list_logic.go │ │ ├── get_match_list_logic.go │ │ ├── get_service_config_logic.go │ │ ├── get_symbol_list_logic.go │ │ ├── login_logic.go │ │ ├── register_logic.go │ │ ├── sync_coin_config_logic.go │ │ ├── sync_error_code_logic.go │ │ ├── sync_symbol_config_logic.go │ │ ├── update_coin_logic.go │ │ ├── update_error_code_logic.go │ │ ├── update_symbol_logic.go │ │ └── upsert_service_config_logic.go │ │ ├── svc │ │ └── service_context.go │ │ └── types │ │ └── types.go ├── match │ ├── match.md │ ├── mq │ │ ├── etc │ │ │ └── match.yaml │ │ ├── internal │ │ │ ├── config │ │ │ │ └── config.go │ │ │ ├── consumer │ │ │ │ └── match_result_consumer.go │ │ │ ├── dao │ │ │ │ ├── model │ │ │ │ │ ├── match.go │ │ │ │ │ ├── matched_order.gen.go │ │ │ │ │ ├── singlylinkedlist.go │ │ │ │ │ └── ticker.go │ │ │ │ └── query │ │ │ │ │ ├── gen.go │ │ │ │ │ └── matched_order.gen.go │ │ │ ├── logic │ │ │ │ ├── store_match_result.go │ │ │ │ └── ticker_handler.go │ │ │ └── svc │ │ │ │ └── service_context.go │ │ └── match.go │ └── rpc │ │ ├── etc │ │ └── match.yaml │ │ ├── internal │ │ ├── bootstrap │ │ │ └── bootloader.go │ │ ├── config │ │ │ └── config.go │ │ ├── consumer │ │ │ └── match_consumer.go │ │ ├── dao │ │ │ ├── model │ │ │ │ ├── matched_order.gen.go │ │ │ │ └── ticker.go │ │ │ └── query │ │ │ │ ├── gen.go │ │ │ │ └── matched_order.gen.go │ │ ├── engine │ │ │ ├── depth.go │ │ │ ├── match_engine.go │ │ │ ├── order.go │ │ │ └── orderbook.go │ │ ├── logic │ │ │ ├── get_depth_logic.go │ │ │ ├── get_tick_logic.go │ │ │ └── get_ticker_logic.go │ │ ├── server │ │ │ └── match_service_server.go │ │ └── svc │ │ │ └── service_context.go │ │ ├── match.go │ │ ├── matchservice │ │ └── match_service.go │ │ └── pb │ │ ├── match.pb.go │ │ ├── match.proto │ │ └── match_grpc.pb.go ├── order │ ├── api │ │ ├── desc │ │ │ └── order.api │ │ ├── etc │ │ │ └── order.yaml │ │ ├── internal │ │ │ ├── config │ │ │ │ └── config.go │ │ │ ├── handler │ │ │ │ ├── cancel_order_handler.go │ │ │ │ ├── create_order_handler.go │ │ │ │ ├── get_order_list_handler.go │ │ │ │ └── routes.go │ │ │ ├── logic │ │ │ │ ├── cancel_order_logic.go │ │ │ │ ├── create_order_logic.go │ │ │ │ └── get_order_list_logic.go │ │ │ ├── middleware │ │ │ │ └── auth_middleware.go │ │ │ ├── svc │ │ │ │ └── service_context.go │ │ │ └── types │ │ │ │ └── types.go │ │ └── order.go │ └── rpc │ │ ├── etc │ │ └── order.yaml │ │ ├── internal │ │ ├── config │ │ │ └── config.go │ │ ├── consumer │ │ │ └── match_result_consumer.go │ │ ├── dao │ │ │ ├── model │ │ │ │ ├── entrust_order.gen.go │ │ │ │ └── matched_order.gen.go │ │ │ └── query │ │ │ │ ├── entrust_order.gen.go │ │ │ │ ├── gen.go │ │ │ │ └── matched_order.gen.go │ │ ├── logic │ │ │ ├── cancel_order_logic.go │ │ │ ├── create_order_logic.go │ │ │ ├── create_order_revert_logic.go │ │ │ ├── get_order_all_pending_order_logic.go │ │ │ ├── get_order_list_logic.go │ │ │ ├── handle_match_result_logic.go │ │ │ └── order_logic.go │ │ ├── server │ │ │ └── order_service_server.go │ │ ├── svc │ │ │ └── service_context.go │ │ └── test │ │ │ └── order_grpc_test.go │ │ ├── order.go │ │ ├── orderservice │ │ └── order_service.go │ │ └── pb │ │ ├── order.pb.go │ │ ├── order.proto │ │ └── order_grpc.pb.go ├── quotes │ ├── api │ │ ├── desc │ │ │ └── quotes.api │ │ ├── etc │ │ │ ├── quote-deploy.yaml │ │ │ └── quote.yaml │ │ ├── internal │ │ │ ├── config │ │ │ │ └── config.go │ │ │ ├── handler │ │ │ │ ├── get_depth_list_handler.go │ │ │ │ ├── get_kline_list_handler.go │ │ │ │ ├── get_tick_list_handler.go │ │ │ │ ├── get_ticker_list_handler.go │ │ │ │ └── routes.go │ │ │ ├── logic │ │ │ │ ├── get_depth_list_logic.go │ │ │ │ ├── get_kline_list_logic.go │ │ │ │ ├── get_tick_list_logic.go │ │ │ │ └── get_ticker_list_logic.go │ │ │ ├── svc │ │ │ │ └── service_context.go │ │ │ └── types │ │ │ │ └── types.go │ │ └── quote.go │ └── kline │ │ └── rpc │ │ ├── etc │ │ └── kline.yaml │ │ ├── internal │ │ ├── config │ │ │ └── config.go │ │ ├── consumer │ │ │ └── match_result_consumer.go │ │ ├── dao │ │ │ ├── model │ │ │ │ └── kline.gen.go │ │ │ └── query │ │ │ │ ├── gen.go │ │ │ │ └── kline.gen.go │ │ ├── logic │ │ │ ├── cache_data.go │ │ │ ├── get_kline_logic.go │ │ │ └── kline_handler.go │ │ ├── model │ │ │ ├── kline.go │ │ │ ├── match.go │ │ │ └── redis_model.go │ │ ├── server │ │ │ └── kline_service_server.go │ │ └── svc │ │ │ └── service_context.go │ │ ├── kline.go │ │ ├── klineservice │ │ └── kline_service.go │ │ └── pb │ │ ├── kline.pb.go │ │ ├── kline.proto │ │ └── kline_grpc.pb.go └── scripts │ ├── order.go │ └── register.go ├── common ├── errs │ ├── account.go │ ├── admin.go │ ├── codes.go │ ├── common.go │ ├── language │ │ ├── en-US.yaml │ │ └── zh-CN.yaml │ ├── match.go │ ├── order.go │ ├── quote.go │ └── translator.go ├── middleware │ └── recovery.go ├── pkg │ ├── confx │ │ ├── conf.go │ │ └── conf_test.go │ ├── etcd │ │ ├── balancer.go │ │ ├── config.go │ │ ├── readme.md │ │ └── register.go │ ├── flagx │ │ ├── flag.go │ │ └── verison.go │ ├── gorm │ │ └── gorm.go │ ├── pulsar │ │ └── pulsar.go │ ├── response │ │ └── response.go │ └── validatorx │ │ └── validatorx.go ├── proto │ ├── define │ │ ├── redis_key.go │ │ ├── redis_key_test.go │ │ └── symbol.go │ ├── enum │ │ ├── enum.pb.go │ │ └── enum.proto │ ├── mq │ │ └── match │ │ │ ├── match.pb.go │ │ │ └── match.proto │ └── ws │ │ └── model.go ├── translator │ └── i18n_wrapper.go └── utils │ ├── cron.go │ ├── decimal.go │ ├── decimal_test.go │ ├── hash.go │ ├── jwt.go │ ├── jwt_test.go │ ├── table.go │ ├── table_test.go │ └── time.go ├── deploy ├── depend │ ├── docker-compose.yaml │ ├── dtm │ │ ├── Dockerfile │ │ ├── conf.yml │ │ └── dtm │ ├── mysql │ │ ├── conf │ │ │ └── my.cnf │ │ └── init │ │ │ └── init.sql │ ├── nginx │ │ ├── conf │ │ │ ├── conf.d │ │ │ │ └── default.conf │ │ │ ├── nginx.conf │ │ │ └── nginx.conf.dev │ │ └── html │ │ │ └── 50x.html │ ├── redis │ │ └── config │ │ │ └── redis.conf │ └── ws │ │ ├── proxy │ │ ├── Dockerfile │ │ ├── config-deploy.toml │ │ └── proxy │ │ └── socket │ │ ├── Dockerfile │ │ ├── config-deploy.toml │ │ └── socket ├── dockerfiles │ ├── Dockerfile-accountapi │ ├── Dockerfile-accountrpc │ ├── Dockerfile-adminapi │ ├── Dockerfile-klinerpc │ ├── Dockerfile-matchmq │ ├── Dockerfile-matchrpc │ ├── Dockerfile-orderapi │ ├── Dockerfile-orderrpc │ ├── Dockerfile-quoteapi │ └── docker-compose.yaml └── scripts │ ├── remove_containers.sh │ ├── remove_images.sh │ ├── run.sh │ └── test.sh ├── doc ├── account.json ├── admin.json ├── order.json └── quotes.json ├── go.mod ├── go.sum ├── readme.md ├── resource ├── language │ ├── en-US.yaml │ └── zh-CN.yaml └── users.txt └── template └── 1.5.2 ├── api ├── config.tpl ├── context.tpl ├── etc.tpl ├── handler.tpl ├── logic.tpl ├── main.tpl ├── middleware.tpl ├── route-addition.tpl ├── routes.tpl ├── template.tpl └── types.tpl ├── docker └── docker.tpl ├── gateway ├── etc.tpl └── main.tpl ├── kube ├── deployment.tpl └── job.tpl ├── model ├── delete.tpl ├── err.tpl ├── field.tpl ├── find-one-by-field-extra-method.tpl ├── find-one-by-field.tpl ├── find-one.tpl ├── import-no-cache.tpl ├── import.tpl ├── insert.tpl ├── interface-delete.tpl ├── interface-find-one-by-field.tpl ├── interface-find-one.tpl ├── interface-insert.tpl ├── interface-update.tpl ├── model-gen.tpl ├── model-new.tpl ├── model.tpl ├── table-name.tpl ├── tag.tpl ├── types.tpl ├── update.tpl └── var.tpl ├── mongo ├── err.tpl ├── model.tpl ├── model_custom.tpl └── model_types.tpl ├── newapi └── newtemplate.tpl └── rpc ├── call.tpl ├── config.tpl ├── etc.tpl ├── logic-func.tpl ├── logic.tpl ├── main.tpl ├── server-func.tpl ├── server.tpl ├── svc.tpl └── template.tpl /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/Makefile -------------------------------------------------------------------------------- /app/account/api/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/account.go -------------------------------------------------------------------------------- /app/account/api/desc/account.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/desc/account.api -------------------------------------------------------------------------------- /app/account/api/etc/account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/etc/account.yaml -------------------------------------------------------------------------------- /app/account/api/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/config/config.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/add_user_asset_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/add_user_asset_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/get_captcha_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/get_captcha_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/get_user_asset_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/get_user_asset_list_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/login_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/login_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/register_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/register_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/routes.go -------------------------------------------------------------------------------- /app/account/api/internal/handler/validate_token_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/handler/validate_token_handler.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/add_user_asset_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/add_user_asset_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/get_captcha_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/get_captcha_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/get_user_asset_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/get_user_asset_list_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/login_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/login_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/register_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/register_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/logic/validate_token_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/logic/validate_token_logic.go -------------------------------------------------------------------------------- /app/account/api/internal/middleware/auth_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/middleware/auth_middleware.go -------------------------------------------------------------------------------- /app/account/api/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/account/api/internal/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/api/internal/types/types.go -------------------------------------------------------------------------------- /app/account/rpc/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/account.go -------------------------------------------------------------------------------- /app/account/rpc/accountservice/account_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/accountservice/account_service.go -------------------------------------------------------------------------------- /app/account/rpc/etc/account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/etc/account.yaml -------------------------------------------------------------------------------- /app/account/rpc/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/config/config.go -------------------------------------------------------------------------------- /app/account/rpc/internal/consumer/match_result_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/consumer/match_result_consumer.go -------------------------------------------------------------------------------- /app/account/rpc/internal/dao/model/asset.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/dao/model/asset.gen.go -------------------------------------------------------------------------------- /app/account/rpc/internal/dao/model/user.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/dao/model/user.gen.go -------------------------------------------------------------------------------- /app/account/rpc/internal/dao/query/asset.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/dao/query/asset.gen.go -------------------------------------------------------------------------------- /app/account/rpc/internal/dao/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/dao/query/gen.go -------------------------------------------------------------------------------- /app/account/rpc/internal/dao/query/user.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/dao/query/user.gen.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/add_user_asset_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/add_user_asset_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/deduct_user_asset_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/deduct_user_asset_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/freeze_user_asset_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/freeze_user_asset_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/get_user_asset_by_coin_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/get_user_asset_by_coin_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/get_user_asset_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/get_user_asset_list_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/handle_match_result_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/handle_match_result_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/login_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/login_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/login_out_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/login_out_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/register_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/register_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/un_freeze_user_asset_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/un_freeze_user_asset_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/logic/validate_token_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/logic/validate_token_logic.go -------------------------------------------------------------------------------- /app/account/rpc/internal/server/account_service_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/server/account_service_server.go -------------------------------------------------------------------------------- /app/account/rpc/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/account/rpc/pb/account.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/pb/account.pb.go -------------------------------------------------------------------------------- /app/account/rpc/pb/account.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/pb/account.proto -------------------------------------------------------------------------------- /app/account/rpc/pb/account_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/account/rpc/pb/account_grpc.pb.go -------------------------------------------------------------------------------- /app/admin/api/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/admin.go -------------------------------------------------------------------------------- /app/admin/api/desc/admin.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/desc/admin.api -------------------------------------------------------------------------------- /app/admin/api/etc/admin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/etc/admin.yaml -------------------------------------------------------------------------------- /app/admin/api/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/config/config.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/model/coin.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/model/coin.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/model/error_code.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/model/error_code.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/model/symbol.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/model/symbol.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/model/user.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/model/user.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/query/coin.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/query/coin.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/query/error_code.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/query/error_code.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/query/gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/query/symbol.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/query/symbol.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/admin/query/user.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/admin/query/user.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/match/model/match_order_agg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/match/model/match_order_agg.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/match/model/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/match/model/matched_order.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/match/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/match/query/gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/dao/match/query/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/dao/match/query/matched_order.gen.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/add_coin_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/add_coin_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/add_error_code_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/add_error_code_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/add_symbol_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/add_symbol_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/get_coin_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/get_coin_list_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/get_error_code_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/get_error_code_list_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/get_match_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/get_match_list_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/get_service_config_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/get_service_config_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/get_symbol_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/get_symbol_list_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/login_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/login_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/register_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/register_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/routes.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/sync_coin_config_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/sync_coin_config_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/sync_error_code_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/sync_error_code_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/sync_symbol_config_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/sync_symbol_config_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/update_coin_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/update_coin_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/update_error_code_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/update_error_code_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/update_symbol_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/update_symbol_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/handler/upsert_service_config_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/handler/upsert_service_config_handler.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/add_coin_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/add_coin_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/add_error_code_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/add_error_code_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/add_symbol_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/add_symbol_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/get_coin_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/get_coin_list_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/get_error_code_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/get_error_code_list_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/get_match_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/get_match_list_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/get_service_config_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/get_service_config_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/get_symbol_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/get_symbol_list_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/login_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/login_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/register_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/register_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/sync_coin_config_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/sync_coin_config_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/sync_error_code_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/sync_error_code_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/sync_symbol_config_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/sync_symbol_config_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/update_coin_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/update_coin_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/update_error_code_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/update_error_code_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/update_symbol_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/update_symbol_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/logic/upsert_service_config_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/logic/upsert_service_config_logic.go -------------------------------------------------------------------------------- /app/admin/api/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/admin/api/internal/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/admin/api/internal/types/types.go -------------------------------------------------------------------------------- /app/match/match.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/match.md -------------------------------------------------------------------------------- /app/match/mq/etc/match.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/etc/match.yaml -------------------------------------------------------------------------------- /app/match/mq/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/config/config.go -------------------------------------------------------------------------------- /app/match/mq/internal/consumer/match_result_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/consumer/match_result_consumer.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/model/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/model/match.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/model/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/model/matched_order.gen.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/model/singlylinkedlist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/model/singlylinkedlist.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/model/ticker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/model/ticker.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/query/gen.go -------------------------------------------------------------------------------- /app/match/mq/internal/dao/query/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/dao/query/matched_order.gen.go -------------------------------------------------------------------------------- /app/match/mq/internal/logic/store_match_result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/logic/store_match_result.go -------------------------------------------------------------------------------- /app/match/mq/internal/logic/ticker_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/logic/ticker_handler.go -------------------------------------------------------------------------------- /app/match/mq/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/match/mq/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/mq/match.go -------------------------------------------------------------------------------- /app/match/rpc/etc/match.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/etc/match.yaml -------------------------------------------------------------------------------- /app/match/rpc/internal/bootstrap/bootloader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/bootstrap/bootloader.go -------------------------------------------------------------------------------- /app/match/rpc/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/config/config.go -------------------------------------------------------------------------------- /app/match/rpc/internal/consumer/match_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/consumer/match_consumer.go -------------------------------------------------------------------------------- /app/match/rpc/internal/dao/model/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/dao/model/matched_order.gen.go -------------------------------------------------------------------------------- /app/match/rpc/internal/dao/model/ticker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/dao/model/ticker.go -------------------------------------------------------------------------------- /app/match/rpc/internal/dao/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/dao/query/gen.go -------------------------------------------------------------------------------- /app/match/rpc/internal/dao/query/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/dao/query/matched_order.gen.go -------------------------------------------------------------------------------- /app/match/rpc/internal/engine/depth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/engine/depth.go -------------------------------------------------------------------------------- /app/match/rpc/internal/engine/match_engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/engine/match_engine.go -------------------------------------------------------------------------------- /app/match/rpc/internal/engine/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/engine/order.go -------------------------------------------------------------------------------- /app/match/rpc/internal/engine/orderbook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/engine/orderbook.go -------------------------------------------------------------------------------- /app/match/rpc/internal/logic/get_depth_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/logic/get_depth_logic.go -------------------------------------------------------------------------------- /app/match/rpc/internal/logic/get_tick_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/logic/get_tick_logic.go -------------------------------------------------------------------------------- /app/match/rpc/internal/logic/get_ticker_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/logic/get_ticker_logic.go -------------------------------------------------------------------------------- /app/match/rpc/internal/server/match_service_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/server/match_service_server.go -------------------------------------------------------------------------------- /app/match/rpc/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/match/rpc/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/match.go -------------------------------------------------------------------------------- /app/match/rpc/matchservice/match_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/matchservice/match_service.go -------------------------------------------------------------------------------- /app/match/rpc/pb/match.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/pb/match.pb.go -------------------------------------------------------------------------------- /app/match/rpc/pb/match.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/pb/match.proto -------------------------------------------------------------------------------- /app/match/rpc/pb/match_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/match/rpc/pb/match_grpc.pb.go -------------------------------------------------------------------------------- /app/order/api/desc/order.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/desc/order.api -------------------------------------------------------------------------------- /app/order/api/etc/order.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/etc/order.yaml -------------------------------------------------------------------------------- /app/order/api/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/config/config.go -------------------------------------------------------------------------------- /app/order/api/internal/handler/cancel_order_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/handler/cancel_order_handler.go -------------------------------------------------------------------------------- /app/order/api/internal/handler/create_order_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/handler/create_order_handler.go -------------------------------------------------------------------------------- /app/order/api/internal/handler/get_order_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/handler/get_order_list_handler.go -------------------------------------------------------------------------------- /app/order/api/internal/handler/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/handler/routes.go -------------------------------------------------------------------------------- /app/order/api/internal/logic/cancel_order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/logic/cancel_order_logic.go -------------------------------------------------------------------------------- /app/order/api/internal/logic/create_order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/logic/create_order_logic.go -------------------------------------------------------------------------------- /app/order/api/internal/logic/get_order_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/logic/get_order_list_logic.go -------------------------------------------------------------------------------- /app/order/api/internal/middleware/auth_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/middleware/auth_middleware.go -------------------------------------------------------------------------------- /app/order/api/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/order/api/internal/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/internal/types/types.go -------------------------------------------------------------------------------- /app/order/api/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/api/order.go -------------------------------------------------------------------------------- /app/order/rpc/etc/order.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/etc/order.yaml -------------------------------------------------------------------------------- /app/order/rpc/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/config/config.go -------------------------------------------------------------------------------- /app/order/rpc/internal/consumer/match_result_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/consumer/match_result_consumer.go -------------------------------------------------------------------------------- /app/order/rpc/internal/dao/model/entrust_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/dao/model/entrust_order.gen.go -------------------------------------------------------------------------------- /app/order/rpc/internal/dao/model/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/dao/model/matched_order.gen.go -------------------------------------------------------------------------------- /app/order/rpc/internal/dao/query/entrust_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/dao/query/entrust_order.gen.go -------------------------------------------------------------------------------- /app/order/rpc/internal/dao/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/dao/query/gen.go -------------------------------------------------------------------------------- /app/order/rpc/internal/dao/query/matched_order.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/dao/query/matched_order.gen.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/cancel_order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/cancel_order_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/create_order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/create_order_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/create_order_revert_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/create_order_revert_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/get_order_all_pending_order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/get_order_all_pending_order_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/get_order_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/get_order_list_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/handle_match_result_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/handle_match_result_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/logic/order_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/logic/order_logic.go -------------------------------------------------------------------------------- /app/order/rpc/internal/server/order_service_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/server/order_service_server.go -------------------------------------------------------------------------------- /app/order/rpc/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/order/rpc/internal/test/order_grpc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/internal/test/order_grpc_test.go -------------------------------------------------------------------------------- /app/order/rpc/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/order.go -------------------------------------------------------------------------------- /app/order/rpc/orderservice/order_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/orderservice/order_service.go -------------------------------------------------------------------------------- /app/order/rpc/pb/order.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/pb/order.pb.go -------------------------------------------------------------------------------- /app/order/rpc/pb/order.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/pb/order.proto -------------------------------------------------------------------------------- /app/order/rpc/pb/order_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/order/rpc/pb/order_grpc.pb.go -------------------------------------------------------------------------------- /app/quotes/api/desc/quotes.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/desc/quotes.api -------------------------------------------------------------------------------- /app/quotes/api/etc/quote-deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/etc/quote-deploy.yaml -------------------------------------------------------------------------------- /app/quotes/api/etc/quote.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/etc/quote.yaml -------------------------------------------------------------------------------- /app/quotes/api/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/config/config.go -------------------------------------------------------------------------------- /app/quotes/api/internal/handler/get_depth_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/handler/get_depth_list_handler.go -------------------------------------------------------------------------------- /app/quotes/api/internal/handler/get_kline_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/handler/get_kline_list_handler.go -------------------------------------------------------------------------------- /app/quotes/api/internal/handler/get_tick_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/handler/get_tick_list_handler.go -------------------------------------------------------------------------------- /app/quotes/api/internal/handler/get_ticker_list_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/handler/get_ticker_list_handler.go -------------------------------------------------------------------------------- /app/quotes/api/internal/handler/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/handler/routes.go -------------------------------------------------------------------------------- /app/quotes/api/internal/logic/get_depth_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/logic/get_depth_list_logic.go -------------------------------------------------------------------------------- /app/quotes/api/internal/logic/get_kline_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/logic/get_kline_list_logic.go -------------------------------------------------------------------------------- /app/quotes/api/internal/logic/get_tick_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/logic/get_tick_list_logic.go -------------------------------------------------------------------------------- /app/quotes/api/internal/logic/get_ticker_list_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/logic/get_ticker_list_logic.go -------------------------------------------------------------------------------- /app/quotes/api/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/quotes/api/internal/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/internal/types/types.go -------------------------------------------------------------------------------- /app/quotes/api/quote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/api/quote.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/etc/kline.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/etc/kline.yaml -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/config/config.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/consumer/match_result_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/consumer/match_result_consumer.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/dao/model/kline.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/dao/model/kline.gen.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/dao/query/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/dao/query/gen.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/dao/query/kline.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/dao/query/kline.gen.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/logic/cache_data.go: -------------------------------------------------------------------------------- 1 | package logic 2 | 3 | //todo 写个脚本前多少条数据缓冲数据到redis中 4 | -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/logic/get_kline_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/logic/get_kline_logic.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/logic/kline_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/logic/kline_handler.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/model/kline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/model/kline.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/model/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/model/match.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/model/redis_model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/model/redis_model.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/server/kline_service_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/server/kline_service_server.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/internal/svc/service_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/internal/svc/service_context.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/kline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/kline.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/klineservice/kline_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/klineservice/kline_service.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/pb/kline.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/pb/kline.pb.go -------------------------------------------------------------------------------- /app/quotes/kline/rpc/pb/kline.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/pb/kline.proto -------------------------------------------------------------------------------- /app/quotes/kline/rpc/pb/kline_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/quotes/kline/rpc/pb/kline_grpc.pb.go -------------------------------------------------------------------------------- /app/scripts/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/scripts/order.go -------------------------------------------------------------------------------- /app/scripts/register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/app/scripts/register.go -------------------------------------------------------------------------------- /common/errs/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/account.go -------------------------------------------------------------------------------- /common/errs/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/admin.go -------------------------------------------------------------------------------- /common/errs/codes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/codes.go -------------------------------------------------------------------------------- /common/errs/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/common.go -------------------------------------------------------------------------------- /common/errs/language/en-US.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/language/en-US.yaml -------------------------------------------------------------------------------- /common/errs/language/zh-CN.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/language/zh-CN.yaml -------------------------------------------------------------------------------- /common/errs/match.go: -------------------------------------------------------------------------------- 1 | package errs 2 | -------------------------------------------------------------------------------- /common/errs/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/order.go -------------------------------------------------------------------------------- /common/errs/quote.go: -------------------------------------------------------------------------------- 1 | package errs 2 | -------------------------------------------------------------------------------- /common/errs/translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/errs/translator.go -------------------------------------------------------------------------------- /common/middleware/recovery.go: -------------------------------------------------------------------------------- 1 | package middleware 2 | -------------------------------------------------------------------------------- /common/pkg/confx/conf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/confx/conf.go -------------------------------------------------------------------------------- /common/pkg/confx/conf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/confx/conf_test.go -------------------------------------------------------------------------------- /common/pkg/etcd/balancer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/etcd/balancer.go -------------------------------------------------------------------------------- /common/pkg/etcd/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/etcd/config.go -------------------------------------------------------------------------------- /common/pkg/etcd/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/etcd/readme.md -------------------------------------------------------------------------------- /common/pkg/etcd/register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/etcd/register.go -------------------------------------------------------------------------------- /common/pkg/flagx/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/flagx/flag.go -------------------------------------------------------------------------------- /common/pkg/flagx/verison.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/flagx/verison.go -------------------------------------------------------------------------------- /common/pkg/gorm/gorm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/gorm/gorm.go -------------------------------------------------------------------------------- /common/pkg/pulsar/pulsar.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/pulsar/pulsar.go -------------------------------------------------------------------------------- /common/pkg/response/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/response/response.go -------------------------------------------------------------------------------- /common/pkg/validatorx/validatorx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/pkg/validatorx/validatorx.go -------------------------------------------------------------------------------- /common/proto/define/redis_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/define/redis_key.go -------------------------------------------------------------------------------- /common/proto/define/redis_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/define/redis_key_test.go -------------------------------------------------------------------------------- /common/proto/define/symbol.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/define/symbol.go -------------------------------------------------------------------------------- /common/proto/enum/enum.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/enum/enum.pb.go -------------------------------------------------------------------------------- /common/proto/enum/enum.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/enum/enum.proto -------------------------------------------------------------------------------- /common/proto/mq/match/match.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/mq/match/match.pb.go -------------------------------------------------------------------------------- /common/proto/mq/match/match.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/mq/match/match.proto -------------------------------------------------------------------------------- /common/proto/ws/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/proto/ws/model.go -------------------------------------------------------------------------------- /common/translator/i18n_wrapper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/translator/i18n_wrapper.go -------------------------------------------------------------------------------- /common/utils/cron.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/cron.go -------------------------------------------------------------------------------- /common/utils/decimal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/decimal.go -------------------------------------------------------------------------------- /common/utils/decimal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/decimal_test.go -------------------------------------------------------------------------------- /common/utils/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/hash.go -------------------------------------------------------------------------------- /common/utils/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/jwt.go -------------------------------------------------------------------------------- /common/utils/jwt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/jwt_test.go -------------------------------------------------------------------------------- /common/utils/table.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/table.go -------------------------------------------------------------------------------- /common/utils/table_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/table_test.go -------------------------------------------------------------------------------- /common/utils/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/common/utils/time.go -------------------------------------------------------------------------------- /deploy/depend/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/docker-compose.yaml -------------------------------------------------------------------------------- /deploy/depend/dtm/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/dtm/Dockerfile -------------------------------------------------------------------------------- /deploy/depend/dtm/conf.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/dtm/conf.yml -------------------------------------------------------------------------------- /deploy/depend/dtm/dtm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/dtm/dtm -------------------------------------------------------------------------------- /deploy/depend/mysql/conf/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/mysql/conf/my.cnf -------------------------------------------------------------------------------- /deploy/depend/mysql/init/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/mysql/init/init.sql -------------------------------------------------------------------------------- /deploy/depend/nginx/conf/conf.d/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/nginx/conf/conf.d/default.conf -------------------------------------------------------------------------------- /deploy/depend/nginx/conf/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/nginx/conf/nginx.conf -------------------------------------------------------------------------------- /deploy/depend/nginx/conf/nginx.conf.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/nginx/conf/nginx.conf.dev -------------------------------------------------------------------------------- /deploy/depend/nginx/html/50x.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deploy/depend/redis/config/redis.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/redis/config/redis.conf -------------------------------------------------------------------------------- /deploy/depend/ws/proxy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/proxy/Dockerfile -------------------------------------------------------------------------------- /deploy/depend/ws/proxy/config-deploy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/proxy/config-deploy.toml -------------------------------------------------------------------------------- /deploy/depend/ws/proxy/proxy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/proxy/proxy -------------------------------------------------------------------------------- /deploy/depend/ws/socket/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/socket/Dockerfile -------------------------------------------------------------------------------- /deploy/depend/ws/socket/config-deploy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/socket/config-deploy.toml -------------------------------------------------------------------------------- /deploy/depend/ws/socket/socket: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/depend/ws/socket/socket -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-accountapi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-accountapi -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-accountrpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-accountrpc -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-adminapi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-adminapi -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-klinerpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-klinerpc -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-matchmq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-matchmq -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-matchrpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-matchrpc -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-orderapi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-orderapi -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-orderrpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-orderrpc -------------------------------------------------------------------------------- /deploy/dockerfiles/Dockerfile-quoteapi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/Dockerfile-quoteapi -------------------------------------------------------------------------------- /deploy/dockerfiles/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/dockerfiles/docker-compose.yaml -------------------------------------------------------------------------------- /deploy/scripts/remove_containers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/scripts/remove_containers.sh -------------------------------------------------------------------------------- /deploy/scripts/remove_images.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/scripts/remove_images.sh -------------------------------------------------------------------------------- /deploy/scripts/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/scripts/run.sh -------------------------------------------------------------------------------- /deploy/scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/deploy/scripts/test.sh -------------------------------------------------------------------------------- /doc/account.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/doc/account.json -------------------------------------------------------------------------------- /doc/admin.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/doc/admin.json -------------------------------------------------------------------------------- /doc/order.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/doc/order.json -------------------------------------------------------------------------------- /doc/quotes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/doc/quotes.json -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/go.sum -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/readme.md -------------------------------------------------------------------------------- /resource/language/en-US.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/resource/language/en-US.yaml -------------------------------------------------------------------------------- /resource/language/zh-CN.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/resource/language/zh-CN.yaml -------------------------------------------------------------------------------- /resource/users.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/resource/users.txt -------------------------------------------------------------------------------- /template/1.5.2/api/config.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/config.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/context.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/context.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/etc.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/etc.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/handler.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/handler.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/logic.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/logic.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/main.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/main.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/middleware.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/middleware.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/route-addition.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/route-addition.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/routes.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/routes.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/template.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/template.tpl -------------------------------------------------------------------------------- /template/1.5.2/api/types.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/api/types.tpl -------------------------------------------------------------------------------- /template/1.5.2/docker/docker.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/docker/docker.tpl -------------------------------------------------------------------------------- /template/1.5.2/gateway/etc.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/gateway/etc.tpl -------------------------------------------------------------------------------- /template/1.5.2/gateway/main.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/gateway/main.tpl -------------------------------------------------------------------------------- /template/1.5.2/kube/deployment.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/kube/deployment.tpl -------------------------------------------------------------------------------- /template/1.5.2/kube/job.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/kube/job.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/delete.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/delete.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/err.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/err.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/field.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/field.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/find-one-by-field-extra-method.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/find-one-by-field-extra-method.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/find-one-by-field.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/find-one-by-field.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/find-one.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/find-one.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/import-no-cache.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/import-no-cache.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/import.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/import.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/insert.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/insert.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/interface-delete.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/interface-delete.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/interface-find-one-by-field.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/interface-find-one-by-field.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/interface-find-one.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/interface-find-one.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/interface-insert.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/interface-insert.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/interface-update.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/interface-update.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/model-gen.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/model-gen.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/model-new.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/model-new.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/model.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/model.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/table-name.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/table-name.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/tag.tpl: -------------------------------------------------------------------------------- 1 | `db:"{{.field}}"` -------------------------------------------------------------------------------- /template/1.5.2/model/types.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/types.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/update.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/update.tpl -------------------------------------------------------------------------------- /template/1.5.2/model/var.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/model/var.tpl -------------------------------------------------------------------------------- /template/1.5.2/mongo/err.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/mongo/err.tpl -------------------------------------------------------------------------------- /template/1.5.2/mongo/model.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/mongo/model.tpl -------------------------------------------------------------------------------- /template/1.5.2/mongo/model_custom.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/mongo/model_custom.tpl -------------------------------------------------------------------------------- /template/1.5.2/mongo/model_types.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/mongo/model_types.tpl -------------------------------------------------------------------------------- /template/1.5.2/newapi/newtemplate.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/newapi/newtemplate.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/call.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/call.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/config.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/config.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/etc.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/etc.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/logic-func.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/logic-func.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/logic.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/logic.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/main.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/main.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/server-func.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/server-func.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/server.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/server.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/svc.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/svc.tpl -------------------------------------------------------------------------------- /template/1.5.2/rpc/template.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikun2021/gex/HEAD/template/1.5.2/rpc/template.tpl --------------------------------------------------------------------------------