project-go-mall

command module
v0.0.0-...-18b5139 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

#study-project-go-mall 电商相关

##mall_python_servers 模块

一:下载依赖方式

1.激活python虚拟环境

2.使用 "pip install +包"下载依赖

C:\Users\Administrator\Envs\mall_server_virtuall_env\Scripts>.\activate

二: proto使用方式

1. C:\Users\Administrator\Envs\mall_server_virtuall_env\Scripts>.\activate

2. cd D:\repository-gopath\src\study-project-go-mall\mall_python_servers\user_server\proto\

3. python -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I . user.proto

三: consul启动、访问DNS

docker run -d -p 8500:8500 -p 8301:8301 -p 8302:8302 -p 8600:8600/udp consul consul agent -dev -client=0.0.0.0

dig @192.168.152.130 -p 8600 consul.service.consul SRV

四: nacos

docker run --name nacos-standalone -e MODE=standalone -e JVM_XMS=512m \

-e JVM_XMX=512m -e JVM_XMN=256m -p 8848:8848 -d nacos/nacos-server:latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package implements functions to decode values of a html form.
Package implements functions to decode values of a html form.

Jump to

Keyboard shortcuts

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