Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/NpoolPlatform/cloud-hashing-goods

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/NpoolPlatform/cloud-hashing-goods

  • v0.0.0-20220930040543-a48dfa502ac4
  • Source
  • Go
  • Socket score

Version published
Created
Source

Npool Cloud Hashing Goods

Test

目录


功能

  • 商品信息
  • 商品附加信息
  • 供应商场地信息
  • 目标区域信息
  • 设备信息
  • 应用内商品定价信息
  • 应用内商品授权信息
  • 应用内商品区域授权信息
  • 应用区域授权信息
  • 商品评论
  • 商品审核结果
  • API友好输出
  • Price Currency
  • Fee Type
  • Good Fee

命令

  • make init 初始化仓库,创建go.mod
  • make verify 验证开发环境与构建环境,检查code conduct
  • make verify-build 编译目标
  • make test 单元测试
  • make generate-docker-images 生成docker镜像
  • make cloud-hashing-goods 单独编译服务
  • make cloud-hashing-goods-image 单独生成服务镜像
  • make deploy-to-k8s-cluster 部署到k8s集群

最佳实践

  • 每个服务只提供单一可执行文件,有利于docker镜像打包与k8s部署管理
  • 每个服务提供http调试接口,通过curl获取调试信息
  • 集群内服务间direct call调用通过服务发现获取目标地址进行调用
  • 集群内服务间event call调用通过rabbitmq解耦

关于mysql

  • 创建app后,从app.Mysql()获取本地mysql client
  • 文档参考

GRPC

FAQs

Package last updated on 30 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc