im

command module
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 15 Imported by: 0

README

im

代码生成

$ cd src/api

// 单独生成packet
$ protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative packet.proto

// packet 和 kitex一起生成
$ kitex broker.ptoto
$ kitex business.proto
$ kitex router.proto

Starting on IDE

build
go mod tidy
cd client
go mod tidy
Start MysQL Redis Etcd and Kafka
docker compose up -d
Start im-broker
go run im-broker.go

Start client

cd client
go run im-client.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
kitex_gen/api/brokerservice
Code generated by Kitex v0.12.3.
Code generated by Kitex v0.12.3.
kitex_gen/api/businessservice
Code generated by Kitex v0.12.3.
Code generated by Kitex v0.12.3.
kitex_gen/api/routerservice
Code generated by Kitex v0.12.3.
Code generated by Kitex v0.12.3.
ctx
business
pkg
id
ip
vo
training
basic command
console command

Jump to

Keyboard shortcuts

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