jsocial

command module
v0.0.0-...-7604275 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

jsocial

服务预览
服务 预览地址
consul http://localhost:8500/
grafana http://localhost:3000/
jaeger http://localhost:16686/search
Prometheus http://localhost:9090/graph
AlertManager http://localhost:9093
GO相关环境搭建
环境 地址
go 1.18 https://go.dev/
Protocol buffer compiler, protoc https://grpc.io/docs/protoc-installation/
Go plugins for the protocol compiler http://localhost:16686/search
protoc相关命令行工具
go install \
    github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
    github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
    google.golang.org/protobuf/cmd/protoc-gen-go \
    google.golang.org/grpc/cmd/protoc-gen-go-grpc \
    github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc \
    github.com/envoyproxy/protoc-gen-validate
GO配置环境变量
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/jidan/go/bin
WSL中通过Docker启动Mysql报错
错误
 jidan@jidan: docker-compose logs deployments-db-1
 deployments-db-1   | mysqld: Cannot change permissions of the file 'private_key.pem' (OS errno 1 - Operation not permitted)
 deployments-db-1   | 2020-09-10T05:04:53.449233Z 0 [ERROR] [MY-010295] [Server] Could not set file permission for private_key.pem
 deployments-db-1   | 2020-09-10T05:04:53.449629Z 0 [ERROR] [MY-010119] [Server] Aborting
解决办法
  • 创建wsl配置文件
 jidan@jidan: sudo touch /etc/wsl.conf
  • 编辑wsl配置文件
 jidan@jidan: sudo vim /etc/wsl.conf
  • 添加内容
 [automount]
 options = "metadata"
  • 退出wsl
 jidan@jidan:  exit
  • 关闭wsl
 wsl --shutdown
  • 重新进入wsl
 wsl

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
proto_build
Package proto_build is a reverse proxy.
Package proto_build is a reverse proxy.
cmd
api
internal
log
scripts
third_party
googleapis/google/example/endpointsapis/goapp
The goapp command implements a simple App Engine app to demonstrate how to use the Service Control API v2 for admission control.
The goapp command implements a simple App Engine app to demonstrate how to use the Service Control API v2 for admission control.

Jump to

Keyboard shortcuts

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