go-micro-example

module
v4.0.0-...-5ab2063 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0

README

Go-Micro V4

go get go-micro.dev/v4@latest
Protobuf
  • Download protoc
https://github.com/protocolbuffers/protobuf/releases
  • Generator
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install github.com/go-micro/generator/cmd/protoc-gen-micro@latest
Micro CLI
go install github.com/asim/go-micro/cmd/micro@latest
Dashboard
go install github.com/go-micro/dashboard@latest
Protobuf
protoc --go_out=proto --micro_out=proto proto/helloworld.proto
protoc --go_out=proto --micro_out=proto proto/message.proto
protoc --go_out=proto --micro_out=proto proto/route_guide.proto
protoc --go_out=proto --micro_out=proto proto/statistics.proto

Directories

Path Synopsis
broker
client command
server command
event
client command
server command
helloworld
client command
server command
metadata
client command
server command
stream
client command
server command

Jump to

Keyboard shortcuts

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